trait BuiltInErrors[R[_]] extends algebra.BuiltInErrors
- Self Type
- BuiltInErrors[R] with EndpointsWithCustomErrors[R]
- 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
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 +(other: String): String
- Implicit
- This member is added by an implicit conversion from BuiltInErrors[R] toany2stringadd[BuiltInErrors[R]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (BuiltInErrors[R], B)
- Implicit
- This member is added by an implicit conversion from BuiltInErrors[R] toArrowAssoc[BuiltInErrors[R]] 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 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def ensuring(cond: (BuiltInErrors[R]) => Boolean, msg: => Any): BuiltInErrors[R]
- Implicit
- This member is added by an implicit conversion from BuiltInErrors[R] toEnsuring[BuiltInErrors[R]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (BuiltInErrors[R]) => Boolean): BuiltInErrors[R]
- Implicit
- This member is added by an implicit conversion from BuiltInErrors[R] toEnsuring[BuiltInErrors[R]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): BuiltInErrors[R]
- Implicit
- This member is added by an implicit conversion from BuiltInErrors[R] toEnsuring[BuiltInErrors[R]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): BuiltInErrors[R]
- Implicit
- This member is added by an implicit conversion from BuiltInErrors[R] toEnsuring[BuiltInErrors[R]] 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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 synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from BuiltInErrors[R] toStringFormat[BuiltInErrors[R]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (BuiltInErrors[R], B)
- Implicit
- This member is added by an implicit conversion from BuiltInErrors[R] toArrowAssoc[BuiltInErrors[R]] 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 any2stringadd fromBuiltInErrors[R] to any2stringadd[BuiltInErrors[R]]
Inherited by implicit conversion StringFormat fromBuiltInErrors[R] to StringFormat[BuiltInErrors[R]]
Inherited by implicit conversion Ensuring fromBuiltInErrors[R] to Ensuring[BuiltInErrors[R]]
Inherited by implicit conversion ArrowAssoc fromBuiltInErrors[R] to ArrowAssoc[BuiltInErrors[R]]
Types
Types introduced by the algebra
Operations
Operations creating and transforming values