Files
feeddeck/supabase/functions/_shared/feed/utils/index.ts
Rico Berger 0894f0e777 [core] Improve Error Handling for Feed Edge Functions (#103)
This commit improve the error handling for the edge function to add a
new source and the worker, so that we get more insights why a request
fails. A user will now also get a more detailed error why a source could
not be added.
2023-12-17 12:10:04 +01:00

18 lines
517 B
TypeScript

import { getFavicon } from './getFavicon.ts';
import { uploadSourceIcon } from './uploadFile.ts';
import { getAndParseFeed } from './getAndParseFeed.ts';
import { assertEqualsItems, assertEqualsSource } from './test.ts';
import { FeedGetAndParseError, FeedValidationError } from './errors.ts';
export type { Favicon } from './getFavicon.ts';
export const feedutils = {
getFavicon,
uploadSourceIcon,
assertEqualsItems,
assertEqualsSource,
getAndParseFeed,
FeedValidationError,
FeedGetAndParseError,
};