UpiException constructor
UpiException({
- required UpiExceptionType type,
- required String? message,
- required dynamic details,
- 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,
});