UpiException constructor

UpiException({
  1. required UpiExceptionType type,
  2. required String? message,
  3. required dynamic details,
  4. required String? stacktrace,
})

Creates an instance of UpiException.

Parameters:

  • type: The type of UPI exception.
  • message: A human-readable message providing more information about the exception.
  • details: Additional details related to the exception.
  • stacktrace: The stack trace associated with the exception.

Implementation

UpiException({
  required this.type,
  required this.message,
  required this.details,
  required this.stacktrace,
});