@foal/core
Version:
Full-featured Node.js framework, with no complexity
8 lines (7 loc) • 331 B
TypeScript
import { IAppController } from '../app.controller.interface';
import { Context, HttpResponse } from '../http';
export declare function convertErrorToResponse(error: Error, ctx: Context, appController: IAppController, logger: {
error: (message: string, params: {
error: Error;
}) => void;
}): Promise<HttpResponse>;