Extends
Members
code
readonly
Default:
400
failures
readonly
Type:
[Object, ...]
Example:
[
{
dataPath: '.name',
message: 'should be a string'
}
]
message
Type:
String
Constructor
- context
- Type:
[Object, ...] - keyword
- Type:
String - dataPath
- Type:
String - schemaPath
- Type:
String - params
- Type:
Object - parentSchema
- Type:
Object - data
- Type:
mixed - message
- Type:
String
new ValidationCompoundError(context)
Parameters:
Inherited Methods
- uid
- Type:
StringorInteger request indentifier
setUID(uid)
Parameters:
toJSON()
Object
Returns:
Object
toLogger()
Object
similar to RequestError#toJSON except that it returns all information
available instead of just public user facing error description.
Object
toSwagger()
Object
Open API schema representation of the error response
Returns:Object