OryksaException class

Error returned by the ORYKSA API.

code is a stable machine code, for example interaction_limit_reached, rate_limited, plan_required or session_expired.

Implemented types

Constructors

OryksaException(int status, String code, String message, [Map<String, dynamic> extra = const {}])
Creates an error.
const

Properties

code → String
Machine readable code.
final
extra → Map<String, dynamic>
Any other fields the API returned with the error.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human readable message (English).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → int
HTTP status (0 when the request did not reach the server).
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