DiditTransactionException class
Typed exception thrown by the transaction methods.
Use code to discriminate; fieldErrors carries per-field details for codeValidation failures.
- Implemented types
Constructors
-
DiditTransactionException({required String code, required String message, Map<
String, dynamic> ? fieldErrors}) -
const
- DiditTransactionException.fromPlatformException(PlatformException exception)
-
factory
Properties
- code → String
-
One of codeInvalidToken, codeExpiredToken, codeValidation,
or codeNetwork.
final
-
fieldErrors
→ Map<
String, dynamic> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
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
Constants
- codeExpiredToken → const String
- codeInvalidToken → const String
- codeNetwork → const String
- codeValidation → const String