Api

com.softinio.verdict4s.Verdict4sError.Api
final case class Api(status: Int, details: String, requestId: Option[String] = ..., retryAfter: Option[FiniteDuration] = ..., body: Option[ApiErrorBody] = ...) extends Verdict4sError

The service answered with a non-success status.

Value parameters

body

the error payload, parsed leniently

details

a short human-readable summary

requestId

the x-typesafe-request-id header, for support

retryAfter

the Retry-After header, already parsed

status

the HTTP status code

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

The named classification of status.

The named classification of status.

Attributes

Inherited methods

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable
final def getSuppressed(): Array[Throwable]

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Throwable

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Throwable
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Throwable