mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 18:13:25 +00:00
7 lines
178 B
TypeScript
7 lines
178 B
TypeScript
export class NotFoundError extends Error {
|
|
constructor(reason?: string) {
|
|
super(`Couldn't find a stream: ${reason ?? 'not found'}`);
|
|
this.name = 'NotFoundError';
|
|
}
|
|
}
|