We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check all SvelteKit API endpoint to ensure they follow a similar pattern for error handling (both validation, and catch all errors).
Follow the pattern in api/audio/translation/+server.ts
Blocked by #1046
ex. validation:
catch (e) { console.error(e); error(400, { message: `${e}` }); }
catch (e) { return handleError(e); }
This will allow frontend components to handle validation vs other errors
The text was updated successfully, but these errors were encountered:
andrewrisse
No branches or pull requests
Check all SvelteKit API endpoint to ensure they follow a similar pattern for error handling (both validation, and catch all errors).
Follow the pattern in api/audio/translation/+server.ts
Blocked by #1046
ex. validation:
This will allow frontend components to handle validation vs other errors
The text was updated successfully, but these errors were encountered: