UNPKG

routup

Version:

Routup is a minimalistic http based routing framework.

12 lines (11 loc) 301 B
import type { Input } from '@ebec/http'; import { RoutupError } from './module'; /** * Create an internal error object by * - an existing error (accessible via cause property) * - options * - message * * @param input */ export declare function createError(input: Input | unknown): RoutupError;