Files
feeddeck/supabase/functions/_shared/feed/utils/errors.ts
Rico Berger b8fdbf17a2 Rework Edge Functions (#247)
Instead of using an `import_map.json` file to define the versions for
dependencies, they are now defined directly within the import. Since the
`import_map.json` file should not be used anymore and instead a
`deno.json` file per function should be used, we decided to define them
directly with the code. The overhead compared to a `deno.json` file per
function shouldn't be that large and it makes using functions in a
self-hosted setup easier.
2025-04-23 17:00:21 +02:00

14 lines
294 B
TypeScript

export class FeedValidationError extends Error {
constructor(message: string) {
super(message);
this.name = "FeedValidationError";
}
}
export class FeedGetAndParseError extends Error {
constructor(message: string) {
super(message);
this.name = "FeedGetParseError";
}
}