CrossmintOrdersException class final
Thrown by checkout / order operations — invalid line items, payment method mismatches, order lookup failures.
- Inheritance
-
- Object
- CrossmintException
- CrossmintOrdersException
Constructors
- CrossmintOrdersException(String message, {CrossmintErrorCode code = CrossmintErrorCode.unknown, Object? cause})
-
Creates an orders 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/casehandling.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