Global error page: ErrorView with per-status copy, did-you-mean suggestions, error ids from handleError, static error.html; 404 instead of 500 for bad progress ids; tolerate full header line in DAISY_TASK_WEBHOOK_HEADER and stop logging raw fetch errors
All checks were successful
Deploy production / deploy (push) Successful in 1m9s
All checks were successful
Deploy production / deploy (push) Successful in 1m9s
This commit is contained in:
6
src/app.d.ts
vendored
6
src/app.d.ts
vendored
@@ -4,7 +4,11 @@
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
interface Error {
|
||||
message: string;
|
||||
/** Short id of an unexpected (5xx) error, also in the server log line. */
|
||||
id?: string;
|
||||
}
|
||||
interface Locals {
|
||||
user: typeof import('#lib/server/auth.js').auth.$Infer.Session.user | null;
|
||||
session: typeof import('#lib/server/auth.js').auth.$Infer.Session.session | null;
|
||||
|
||||
Reference in New Issue
Block a user