ScrapingException.robotsTxt constructor
ScrapingException.robotsTxt(})
Creates a new ScrapingException for a robots.txt disallowed error
Implementation
factory ScrapingException.robotsTxt(
String message, {
dynamic originalException,
String? url,
bool isRetryable = false,
}) {
return ScrapingException(
message,
type: ScrapingExceptionType.robotsTxt,
originalException: originalException,
url: url,
isRetryable: isRetryable,
);
}