UNPKG

jsm-exceptions

Version:

A comprehensive TypeScript exception library with HTTP status code support, detailed JSDoc documentation, and backward compatibility. Provides structured error handling for web applications and APIs.

9 lines (8 loc) 176 B
export type ErrorFields<F extends keyof any = string> = { [key in F]?: { value: any; message: string; label?: string; meta?: any; }; };