UNPKG

@t3ned/channel

Version:

Ergonomic, chaining-based Typescript framework for quick API development for Fastify

9 lines 259 B
import { ApiError } from "../.."; /** * Convert an error into an api error * @param error The error * * @returns The ApiError */ export declare const convertErrorToApiError: (error: Error) => ApiError; //# sourceMappingURL=convertErrorToApiError.d.ts.map