BackdoorFlutterException class
Custom exception class for handling errors in the Backdoor application.
This class encapsulates details about an error, including a message, type, optional API response, stack trace, and operation configuration.
- Implemented types
Constructors
- BackdoorFlutterException({required String message, required BackdoorFlutterExceptionType type, String? apiResponse, StackTrace? stackTrace, BackdoorPaymentModel? operationConfiguration})
- Creates an instance of BackdoorFlutterException.
Properties
- apiResponse → String?
-
Optional API response for additional context.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A descriptive message about the error.
final
- operationConfiguration → BackdoorPaymentModel?
-
Optional operation configuration related to the error.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
Optional stack trace for debugging purposes.
final
- type → BackdoorFlutterExceptionType
-
The type of the exception.
final
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