WooRateLimitException constructor

const WooRateLimitException(
  1. String message, {
  2. String? code,
  3. int? statusCode,
  4. Duration? retryAfter,
  5. int? limit,
  6. int? remaining,
})

Creates the exception.

Implementation

const WooRateLimitException(
  super.message, {
  super.code,
  super.statusCode,
  this.retryAfter,
  this.limit,
  this.remaining,
});