ResponseBadRequest

The standard message type to send back when the request message has an error, being less specific than ResponseInvalid or ResponseBadType it is better to try to use one of them as much as possible over this payload.

@SetResponseStatus(ResponseStatus.BAD_REQUEST)
struct ResponseBadRequest {}

Members

Variables

message
string message;

An array with the validation errors

Meta