Skip to content

Instantly share code, notes, and snippets.

@klement97
Created March 26, 2020 19:19
Show Gist options
  • Save klement97/9e5aaf9ac0527d3e0b298989a728fe12 to your computer and use it in GitHub Desktop.
Save klement97/9e5aaf9ac0527d3e0b298989a728fe12 to your computer and use it in GitHub Desktop.
error object's representation for error handler class
const errorObject = {
first_name: 'This field is required',
last_name: 'This field is required',
email: 'This field is required',
password: 'This field is required',
re_password: 'This field is required',
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment