TooManyRequestsException constructor
- String? message,
- Duration? retryAfter,
- DioException? originalException,
- String? errorCode,
- String? traceId,
Creates a TooManyRequestsException with an optional custom message and retryAfter.
Implementation
const TooManyRequestsException({String? message, this.retryAfter, super.originalException, super.errorCode, super.traceId})
: super(message: message ?? "Too many requests. Please wait before trying again.");