Skip to content

Instantly share code, notes, and snippets.

@benbarnett
Created August 8, 2014 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benbarnett/fd879060480093a9ef09 to your computer and use it in GitHub Desktop.
Save benbarnett/fd879060480093a9ef09 to your computer and use it in GitHub Desktop.
Example Error API Response
{
errors: [
{
inputs: ['user_email'],
error_number: 1,
error_message: "Please provide a valid email address"
},
{
inputs: ['user_password', 'user_password_confirm'],
error_number: 2,
error_message: "Please ensure your passwords match"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment