Packages

t

endpoints4s.openapi

BuiltInErrors

trait BuiltInErrors extends algebra.BuiltInErrors

Self Type
BuiltInErrors with EndpointsWithCustomErrors
Source
BuiltInErrors.scala
Known Subclasses
Type Hierarchy
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. BuiltInErrors
  2. BuiltInErrors
  3. Errors
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type ClientErrors = Invalid

    Errors in a request built by a client

    Errors in a request built by a client

    Definition Classes
    BuiltInErrorsErrors
  2. type ServerError = Throwable

    Error raised by the business logic of a server

    Error raised by the business logic of a server

    Definition Classes
    BuiltInErrorsErrors

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from BuiltInErrors toany2stringadd[BuiltInErrors] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. 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()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. 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
  8. lazy val clientErrorsResponseEntity: (BuiltInErrors.this)#ResponseEntity[Invalid]

    Response entity format for Invalid values

    Response entity format for Invalid values

    Definition Classes
    BuiltInErrorsBuiltInErrorsErrors
  9. 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
    BuiltInErrorsErrors
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  11. 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
  12. 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
  13. 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
  14. 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
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. 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
    BuiltInErrorsErrors
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. 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
  25. lazy val serverErrorResponseEntity: (BuiltInErrors.this)#ResponseEntity[Throwable]

    Response entity format for Throwable values

    Response entity format for Throwable values

    Definition Classes
    BuiltInErrorsBuiltInErrorsErrors
  26. 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
    BuiltInErrorsErrors
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. 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
    BuiltInErrorsErrors
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. 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
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. 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 any2stringadd fromBuiltInErrors to any2stringadd[BuiltInErrors]

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

Ungrouped