RequestCancelledException constructor

const RequestCancelledException({
  1. String? message,
  2. DioException? originalException,
  3. String? errorCode,
  4. String? traceId,
})

Creates a RequestCancelledException with an optional custom message.

Implementation

const RequestCancelledException({String? message, super.originalException, super.errorCode, super.traceId})
  : super(message: message ?? "The request was cancelled.");