final case class SimpleHttpProblem(type: Option[String], title: Option[String], status: Option[Int], detail: Option[String], instance: Option[String]) extends RuntimeException with HttpProblem with Product with Serializable
The trivial implementation of HttpProblem.
- Note
HttpError#SimpleHttpError, or a subtype of HttpError, is recommended when throwing new errors.
- Alphabetic
- By Inheritance
- SimpleHttpProblem
- Serializable
- Product
- Equals
- HttpProblem
- Error
- RuntimeException
- Exception
- Throwable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
causes: Vector[Throwable]
- Definition Classes
- Error
-
final
lazy val
causesErrorMessages: Vector[String]
- Definition Classes
- Error
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
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
- SimpleHttpProblem → HttpProblem
- See also
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
lazy val
errorMessages: Vector[String]
- Definition Classes
- Error
-
def
fillInStackTrace(): Throwable
- Definition Classes
- Throwable
-
final
lazy val
getCause: Throwable
- Definition Classes
- Error → Throwable
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getLocalizedMessage(): String
- Definition Classes
- Throwable
-
final
lazy val
getMessage: String
- Definition Classes
- Error → Throwable
-
def
getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Throwable
-
final
def
getSuppressed(): Array[Throwable]
- Definition Classes
- Throwable
-
def
initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
-
val
instance: Option[String]
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
- SimpleHttpProblem → HttpProblem
- See also
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
lazy val
primaryErrorMessage: eu.timepit.refined.types.all.NonEmptyString
- Definition Classes
- HttpProblem → Error
-
def
printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(): Unit
- Definition Classes
- Throwable
-
def
secondaryErrorMessages: Vector[String]
- Definition Classes
- Error
-
def
setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
-
val
status: Option[Int]
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
- SimpleHttpProblem → HttpProblem
- See also
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
title: Option[String]
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
- SimpleHttpProblem → HttpProblem
- See also
-
def
toString(): String
- Definition Classes
- Throwable → AnyRef → Any
-
val
type: Option[String]
The type of the error.
The type of the error. Per RFC 7807 this SHOULD be a URI.
- Definition Classes
- SimpleHttpProblem → HttpProblem
- See also
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )