TdkException class
Exception thrown by the Affinidi TDK when an error occurs.
This exception provides detailed information about the error, including a user-friendly message, an error code, and optionally the original error message.
- Implemented types
Constructors
- TdkException.new({required String message, required String code, String? originalMessage})
- Creates a new TdkException.
Properties
- code → String
-
A unique identifier for the type of error.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A user-friendly description of the error.
final
- originalMessage → String?
-
The original error message.
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited