trait BuiltInErrors extends algebra.BuiltInErrors
- Self Type
- BuiltInErrors with EndpointsWithCustomErrors
- Source
- BuiltInErrors.scala
- Grouped
- Alphabetic
- By Inheritance
- BuiltInErrors
- BuiltInErrors
- Errors
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Type Members
- 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
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (BuiltInErrors, B)
- Implicit
- This member is added by an implicit conversion from BuiltInErrors toArrowAssoc[BuiltInErrors] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val clientErrorsResponse: (BuiltInErrors.this)#Response[(BuiltInErrors.this)#ClientErrors]
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
.- 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 endpoints internal client error type
Convert the ClientErrors type into the endpoints internal client error type
- Definition Classes
- BuiltInErrors → Errors
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (BuiltInErrors) => Boolean, msg: => Any): BuiltInErrors
- Implicit
- This member is added by an implicit conversion from BuiltInErrors toEnsuring[BuiltInErrors] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (BuiltInErrors) => Boolean): BuiltInErrors
- Implicit
- This member is added by an implicit conversion from BuiltInErrors toEnsuring[BuiltInErrors] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): BuiltInErrors
- Implicit
- This member is added by an implicit conversion from BuiltInErrors toEnsuring[BuiltInErrors] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): BuiltInErrors
- Implicit
- This member is added by an implicit conversion from BuiltInErrors toEnsuring[BuiltInErrors] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from BuiltInErrors toStringFormat[BuiltInErrors] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def invalidToClientErrors(invalid: Invalid): (BuiltInErrors.this)#ClientErrors
Convert the endpoints internal client error type into the ClientErrors type
Convert the endpoints internal client error type into the ClientErrors type
- Definition Classes
- BuiltInErrors → Errors
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val serverErrorResponse: (BuiltInErrors.this)#Response[(BuiltInErrors.this)#ServerError]
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
- 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 endpoints internal server error type
Convert the ServerError type into the endpoints internal server error type
- Definition Classes
- BuiltInErrors → Errors
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def throwableToServerError(throwable: Throwable): (BuiltInErrors.this)#ServerError
Convert the endpoints internal server error type into the ServerError type
Convert the endpoints internal server error type into the ServerError type
- Definition Classes
- BuiltInErrors → Errors
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def →[B](y: B): (BuiltInErrors, B)
- Implicit
- This member is added by an implicit conversion from BuiltInErrors toArrowAssoc[BuiltInErrors] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
Inherited from algebra.BuiltInErrors
Inherited from Errors
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion StringFormat fromBuiltInErrors to StringFormat[BuiltInErrors]
Inherited by implicit conversion Ensuring fromBuiltInErrors to Ensuring[BuiltInErrors]
Inherited by implicit conversion ArrowAssoc fromBuiltInErrors to ArrowAssoc[BuiltInErrors]
Types
Types introduced by the algebra
Operations
Operations creating and transforming values