Defines the error types used to model client and server errors.
The ClientErrors type is used by endpoints4s to model errors coming from the client (missing query parameter, invalid entity, etc.).
The ServerError type is used by endpoints4s to model errors coming from the server business logic.
The badRequest and internalServerError operations defined in Responses define responses carrying entities of type ClientErrors and ServerError, respectively.
Interpreters are expected to use the clientErrorsResponse and serverErrorResponse operations defined here to handle client and server errors, respectively.