fedicrawl/application/src/Fediverse/RobotsTxt/RobotsTxtError.ts

8 wiersze
175 B
TypeScript
Czysty Zwykły widok Historia

2022-11-22 15:37:11 +00:00
export class RobotsTxtError extends Error {
public readonly url
public constructor (url: string) {
super('Request was blocked by robots.txt')
this.url = url
}
}