MisarMailError class

Raised for any non-2xx response, and for transport failures with status 0.

Implemented types
Implementers

Constructors

MisarMailError(int status, String message, [String errorType = 'api_error', Map<String, dynamic>? details])

Properties

details Map<String, dynamic>?
final
errorType String
final
hashCode int
The hash code for this object.
no setterinherited
isPlanDenied bool
The key is valid but the account's subscription does not cover this call: the feature is not in the plan, a plan limit is exhausted, or a volume ceiling was hit. Gating is decided server-side from the subscription behind the key, so this is the signal to prompt an upgrade — without parsing error strings.
no setter
isRetryable bool
Worth retrying as-is: transient server or rate-limit conditions.
no setter
isUnauthorized bool
The key was rejected outright — missing, revoked, expired, or issued for a different product.
no setter
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
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