UNPKG

routup

Version:

Routup is a minimalistic http based routing framework.

5 lines (4 loc) 262 B
import { Handler } from '../module'; import type { ErrorHandlerConfig, ErrorHandlerFn } from './types'; export declare function errorHandler(input: Omit<ErrorHandlerConfig, 'type'>): Handler; export declare function errorHandler(input: ErrorHandlerFn): Handler;