The cases of Verdict4sError, and a constructor for API errors built from a raw response.
Attributes
- Companion
- class
- Graph
-
- Supertypes
- Self type
-
Verdict4sError.type
Members list
Type members
Classlikes
The service answered with a non-success status.
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-idheader, for support - retryAfter
-
the
Retry-Afterheader, already parsed - status
-
the HTTP status code
Attributes
- Supertypes
-
trait Producttrait Equalsclass Verdict4sErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
The service answered, but the body was not what we expect.
The service answered, but the body was not what we expect.
Value parameters
- field
-
dotted path to the offending value, such as
answers.tone.confidence, when it can be identified
Attributes
- Supertypes
-
trait Producttrait Equalsclass Verdict4sErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
The aggregate of every Validation found in one request.
The aggregate of every Validation found in one request.
Raised in F once accumulation is over and sequencing begins.
Attributes
- Supertypes
-
trait Producttrait Equalsclass Verdict4sErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
The request never produced a usable response.
The request never produced a usable response.
Attributes
- Supertypes
-
trait Producttrait Equalsclass Verdict4sErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
A single broken rule, found while building a request.
A single broken rule, found while building a request.
This is the leaf that ValidatedNec accumulates, so that a request with several malformed questions reports all of them rather than only the first.
Attributes
- Supertypes
-
trait Producttrait Equalsclass Verdict4sErrorclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements
The name of the type