CrossmintConfigurationException class final
Thrown when the client is configured incorrectly — missing API key, invalid base URL, incompatible runtime overrides, etc.
- Inheritance
-
- Object
- CrossmintException
- CrossmintConfigurationException
Constructors
- CrossmintConfigurationException(String message, {CrossmintErrorCode code = CrossmintErrorCode.unknown, Object? cause})
-
Creates a configuration 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