mirror of
https://github.com/sussy-code/providers.git
synced 2026-03-14 23:16:23 +00:00
6 lines
178 B
TypeScript
6 lines
178 B
TypeScript
export class NotFoundError extends Error {
|
|
constructor(reason?: string) {
|
|
super(`Couldn't find a stream: ${reason ?? 'not found'}`);
|
|
this.name = 'NotFoundError';
|
|
}
|
|
}
|