Packages

final case class SimpleHttpError(type: eu.timepit.refined.types.all.NonEmptyString, title: eu.timepit.refined.types.all.NonEmptyString, status: HttpStatus, detail: Option[String], instance: Option[eu.timepit.refined.types.all.NonEmptyString]) extends RuntimeException with HttpError with Product with Serializable

The trivial implementation of HttpError.

Linear Supertypes
Serializable, Product, Equals, HttpError, Error, RuntimeException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleHttpError
  2. Serializable
  3. Product
  4. Equals
  5. HttpError
  6. Error
  7. RuntimeException
  8. Exception
  9. Throwable
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleHttpError(type: eu.timepit.refined.types.all.NonEmptyString, title: eu.timepit.refined.types.all.NonEmptyString, status: HttpStatus, detail: Option[String], instance: Option[eu.timepit.refined.types.all.NonEmptyString])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def causes: Vector[Throwable]
    Definition Classes
    Error
  7. final lazy val causesErrorMessages: Vector[String]
    Definition Classes
    Error
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. val detail: Option[String]

    Detail information about the error.

    Detail information about the error. Unlike #title, this may change from occurrence to occurrence of the problem.

    Definition Classes
    SimpleHttpErrorHttpError
    See also

    https://tools.ietf.org/html/rfc7807#section-3.1

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final lazy val errorMessages: Vector[String]
    Definition Classes
    Error
  12. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  13. final lazy val getCause: Throwable
    Definition Classes
    Error → Throwable
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def getLocalizedMessage(): String
    Definition Classes
    Throwable
  16. final lazy val getMessage: String
    Definition Classes
    Error → Throwable
  17. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  18. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  19. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  20. val instance: Option[eu.timepit.refined.types.all.NonEmptyString]

    This SHOULD be a URI reference unique to this instance of the problem.

    This SHOULD be a URI reference unique to this instance of the problem.

    Definition Classes
    SimpleHttpErrorHttpError
    See also

    https://tools.ietf.org/html/rfc7807#section-3.1

  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final lazy val primaryErrorMessage: eu.timepit.refined.types.all.NonEmptyString
    Definition Classes
    HttpError → Error
  26. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  27. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  28. def printStackTrace(): Unit
    Definition Classes
    Throwable
  29. def secondaryErrorMessages: Vector[String]
    Definition Classes
    Error
  30. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  31. val status: HttpStatus

    The status code associated with the problem.

    The status code associated with the problem. It SHOULD map to status codes for HTTP (RFC 7231).

    Definition Classes
    SimpleHttpErrorHttpError
    See also

    https://tools.ietf.org/html/rfc7807#section-3.1

    https://tools.ietf.org/html/rfc7231

  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. val title: eu.timepit.refined.types.all.NonEmptyString

    The title of the error.

    The title of the error. Per RFC 7807 this should be a short human readable summary of the problem. It should not change from occurrence to occurrence of the problem, e.g. it should have a functional dependency on type.

    Definition Classes
    SimpleHttpErrorHttpError
    See also

    https://tools.ietf.org/html/rfc7807#section-3.1

  34. def toString(): String
    Definition Classes
    Throwable → AnyRef → Any
  35. val type: eu.timepit.refined.types.all.NonEmptyString

    The type of the error.

    The type of the error. Per RFC 7807 this SHOULD be a URI.

    Definition Classes
    SimpleHttpErrorHttpError
    See also

    https://tools.ietf.org/html/rfc7807#section-3.1

  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HttpError

Inherited from Error

Inherited from RuntimeException

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped