MicropayError.authentication constructor
MicropayError.authentication(
- String message
Creates an authentication error.
Implementation
factory MicropayError.authentication(String message) {
return MicropayError(
code: 'authentication_error',
message: message,
statusCode: 401,
);
}