trait BuiltInErrors extends algebra.BuiltInErrors
- Self Type
- BuiltInErrors with EndpointsWithCustomErrors
- Source
- BuiltInErrors.scala
- Grouped
- Alphabetic
- By Inheritance
- BuiltInErrors
- BuiltInErrors
- Errors
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Types
Types introduced by the algebra
- type ClientErrors = Invalid
Errors in a request built by a client
Errors in a request built by a client
- Definition Classes
- BuiltInErrors → Errors
- type ServerError = Throwable
Error raised by the business logic of a server
Error raised by the business logic of a server
- Definition Classes
- BuiltInErrors → Errors
Operations
Operations creating and transforming values
- lazy val clientErrorsResponse: (BuiltInErrors.this)#Response[(BuiltInErrors.this)#ClientErrors]
Response used by endpoints4s when decoding a request fails.
Response used by endpoints4s when decoding a request fails.
The provided implementation forwards to
badRequest
.- Definition Classes
- Errors
- def clientErrorsResponseEntity: (BuiltInErrors.this)#ResponseEntity[Invalid]
Response entity format for Invalid values
Response entity format for Invalid values
- Definition Classes
- BuiltInErrors → BuiltInErrors → Errors
- final def clientErrorsToInvalid(clientErrors: (BuiltInErrors.this)#ClientErrors): Invalid
Convert the ClientErrors type into the endpoints4s internal client error type
Convert the ClientErrors type into the endpoints4s internal client error type
- Definition Classes
- BuiltInErrors → Errors
- final def invalidToClientErrors(invalid: Invalid): (BuiltInErrors.this)#ClientErrors
Convert the endpoints4s internal client error type into the ClientErrors type
Convert the endpoints4s internal client error type into the ClientErrors type
- Definition Classes
- BuiltInErrors → Errors
- lazy val serverErrorResponse: (BuiltInErrors.this)#Response[(BuiltInErrors.this)#ServerError]
Response used by endpoints4s when the business logic of an endpoint fails.
Response used by endpoints4s when the business logic of an endpoint fails.
The provided implementation forwards to
internalServerError
- Definition Classes
- Errors
- def serverErrorResponseEntity: (BuiltInErrors.this)#ResponseEntity[Throwable]
Response entity format for
Throwable
valuesResponse entity format for
Throwable
values- Definition Classes
- BuiltInErrors → BuiltInErrors → Errors
- final def serverErrorToThrowable(serverError: (BuiltInErrors.this)#ServerError): Throwable
Convert the ServerError type into the endpoints4s internal server error type
Convert the ServerError type into the endpoints4s internal server error type
- Definition Classes
- BuiltInErrors → Errors
- final def throwableToServerError(throwable: Throwable): (BuiltInErrors.this)#ServerError
Convert the endpoints4s internal server error type into the ServerError type
Convert the endpoints4s internal server error type into the ServerError type
- Definition Classes
- BuiltInErrors → Errors