CrossmintTokensException class final

Thrown by token-related operations — balance lookup failures, missing token metadata.

Inheritance

Constructors

CrossmintTokensException(String message, {CrossmintErrorCode code = CrossmintErrorCode.unknown, Object? cause})
Creates a tokens exception.
const

Properties

cause Object?
The underlying cause — typically a lower-level exception or an API response payload. Inspect this for extra detail when diagnosing errors.
finalinherited
code CrossmintErrorCode
A machine-readable error code for programmatic switch/case handling.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable message suitable for logs. Not localized — do not show this directly to end users.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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