Created
March 26, 2020 19:19
-
-
Save klement97/9e5aaf9ac0527d3e0b298989a728fe12 to your computer and use it in GitHub Desktop.
error object's representation for error handler class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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