mirror of
https://github.com/p-stream/providers.git
synced 2026-04-09 08:30:27 +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';
|
|
}
|
|
}
|