Structure for standardized application errors.
export interface AppError { type: ErrorType; message: string; originalError?: unknown; code?: string;} Copy
export interface AppError { type: ErrorType; message: string; originalError?: unknown; code?: string;}
Optional
Structure for standardized application errors.
Source