mirror of
https://github.com/p-stream/providers.git
synced 2026-03-13 14:36:11 +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';
|
|
}
|
|
}
|