ExtensibleCirceHttpError

trait ExtensibleCirceHttpError extends HttpError
Companion
object
trait HttpError
trait Error
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def additionalFields: JsonObject

Additional fields beyond those defined in HttpError.

Additional fields beyond those defined in HttpError.

Note

This io.circe.JsonObject should ''not'' contain keys which will conflict with the canonical fields in HttpError.

Inherited methods

def `type`: NonEmptyString

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

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

See also
Inherited from
HttpError
final
def addSuppressed(x$0: Throwable): Unit
Inherited from
Throwable
def causes: Vector[Throwable]

A set of causes for this org.errors4s.core.Error. The first value in this set, if any, will be the value returned by org.errors4s.core.Error#getCause.

A set of causes for this org.errors4s.core.Error. The first value in this set, if any, will be the value returned by org.errors4s.core.Error#getCause.

Inherited from
Error
def detail: Option[String]

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

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

See also
Inherited from
HttpError
def fillInStackTrace(): Throwable
Inherited from
Throwable
def getLocalizedMessage(): String
Inherited from
Throwable
def getStackTrace(): Array[StackTraceElement]
Inherited from
Throwable
final
def getSuppressed(): Array[Throwable]
Inherited from
Throwable
def initCause(x$0: Throwable): Throwable
Inherited from
Throwable
def instance: Option[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.

See also
Inherited from
HttpError
def printStackTrace(x$0: PrintWriter): Unit
Inherited from
Throwable
def printStackTrace(x$0: PrintStream): Unit
Inherited from
Throwable
def printStackTrace(): Unit
Inherited from
Throwable
def secondaryErrorMessages: Vector[String]

A set of secondary error messages. Often these are values interpolated from the given context. This is why they are java.lang.String values and not cats.data.NonEmptyString values.

A set of secondary error messages. Often these are values interpolated from the given context. This is why they are java.lang.String values and not cats.data.NonEmptyString values.

Inherited from
Error
def setStackTrace(x$0: Array[StackTraceElement]): Unit
Inherited from
Throwable
def status: HttpStatus

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

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

See also
Inherited from
HttpError
def title: NonEmptyString

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.

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.

See also
Inherited from
HttpError
def toString(): String
Inherited from
Throwable

Inherited fields

final lazy
val causesErrorMessages: Vector[String]

An error message for each values in causes. This is just a convenience method for aggregating all error messages.

An error message for each values in causes. This is just a convenience method for aggregating all error messages.

Inherited from
Error
final lazy
val errorMessages: Vector[String]

All the error messages for this org.errors4s.core.Error. This includes the primaryErrorMessage, the secondaryErrorMessages, and all error messages from causesErrorMessages.

All the error messages for this org.errors4s.core.Error. This includes the primaryErrorMessage, the secondaryErrorMessages, and all error messages from causesErrorMessages.

Inherited from
Error
final lazy override
val getCause: Throwable
Inherited from
Error
final lazy override
val getMessage: String
Inherited from
Error
final lazy
val getMessageNes: NonEmptyString
Inherited from
Error
final lazy override
val primaryErrorMessage: NonEmptyString
Inherited from
HttpError