ApiClientException class final

Thrown by ApiRenderClient when a request fails: a non-2xx response, a decode error, or a timeout while waiting for a render.

Implemented types

Constructors

ApiClientException(String message, {int? statusCode})
Creates the exception with a message and optional HTTP statusCode.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
A human-readable description (the server's error message when available).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int?
The HTTP status code, when the failure came from a response.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited