This is one form of the error JSON. The message
field is mapped to a String
.
{
"message":"400 (Bad request) \"title\" not given"
}
The error JSON can also take a more general form:
{
"message": {
"<property-name>": [
"<error-message>",
"<error-message>",
...
],
"<embed-entity>": {
"<property-name>": [
"<error-message>",
"<error-message>",
...
],
}
}
}