Errors in a request built by a client
Errors in a request built by a client
Error raised by the business logic of a server
Error raised by the business logic of a server
Response entity format for Invalid values
Response entity format for Invalid values
Response entity format for Throwable
values
Response entity format for Throwable
values
Response used by the endpoints library when decoding a request fails.
Response used by the endpoints library when decoding a request fails.
The provided implementation forwards to badRequest
.
Response used by the endpoints library when the business logic of an endpoint fails.
Response used by the endpoints library when the business logic of an endpoint fails.
The provided implementation forwards to internalServerError
Uses endpoints built-in error types:
- Invalid for client errors,
- and
Throwable
for server error.Both types of errors are serialized into a JSON array containing string error values.