PaymentInvalidResponseException constructor

PaymentInvalidResponseException(
  1. String message, {
  2. dynamic cause,
  3. String? responseBody,
})

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);