PaymentInvalidResponseException constructor
Creates a new PaymentInvalidResponseException with the specified details.
The message
should describe what was invalid about the response.
The responseBody
is the raw response that couldn't be parsed.
Implementation
PaymentInvalidResponseException(
super.message, {
super.cause,
super.responseBody,
}) : super(errorType: PaymentErrorType.invalidResponse);