Last active
January 17, 2018 00:44
-
-
Save csakis/9c27a02c13c02e82a94c1d34c465fb47 to your computer and use it in GitHub Desktop.
request.response.details
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
[{ | |
message: '"username" is not allowed to be empty', | |
path: ['username'], | |
type: 'any.empty', | |
context: { | |
key: 'username', | |
label: 'username' | |
} | |
},{ | |
message: '"username" must be a valid email', | |
path: ['username'], | |
type: 'string.email', | |
context: { | |
value: '', | |
key: 'username', | |
label: 'username' | |
} | |
},{ | |
message: '"password" is not allowed to be empty', | |
path: ['password'], | |
type: 'any.empty', | |
context: { | |
key: 'password', | |
label: 'password' | |
} | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment