UNPKG

@minimaltech/node-infra

Version:

Minimal Technology NodeJS Infrastructure - Loopback 4 Framework

15 lines (14 loc) 358 B
export declare class ApplicationError extends Error { statusCode: number; messageCode?: string; constructor(opts: { statusCode?: number; messageCode?: string; message: string; }); } export declare const getError: (opts: { statusCode?: number; messageCode?: string; message: string; }) => ApplicationError;