UNPKG

@visulima/error-handler

Version:

Error handlers for use in development and production environments.

8 lines (7 loc) 256 B
import type { ErrorHandler } from "./types.d.d.ts"; /** * Normalizes errors according to the API Problem spec (RFC 7807). * @see https://tools.ietf.org/html/rfc7807 */ declare const problemErrorHandler: ErrorHandler; export default problemErrorHandler;