GatewayError constructor

const GatewayError({
  1. required GatewayErrorCode code,
  2. required String message,
  3. int? httpStatus,
  4. int? attempt,
  5. bool recoverable = false,
})

Implementation

const GatewayError({
  required this.code,
  required this.message,
  this.httpStatus,
  this.attempt,
  this.recoverable = false,
});