Response with error response
// A sample response
{
errors: [{
'status': 'InvalidError'
'message': 'Invalid value for email',
... // Other details of the error
}, {
... // Next error object
}],
data: {
... // Any data
}
}