Files
providers/src/utils/errors.ts
2023-09-28 15:51:39 -05:00

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';
}
}