ScrapingException constructor

ScrapingException(
  1. String message, {
  2. ScrapingExceptionType type = ScrapingExceptionType.unexpected,
  3. dynamic originalException,
  4. String? url,
  5. int? statusCode,
  6. bool isRetryable = true,
})

Creates a new ScrapingException with the given parameters

Implementation

ScrapingException(
  this.message, {
  this.type = ScrapingExceptionType.unexpected,
  this.originalException,
  this.url,
  this.statusCode,
  this.isRetryable = true,
});