UNPKG

@nest-js/error-manager

Version:
12 lines (11 loc) 388 B
export declare class ErrorHtmlService { private readonly errorConfig; constructor(errorConfig: { descriptions: Record<string, string>; solutions: Record<string, string[]>; }); generateErrorHtml(errorType: string, errorDescription?: string): string; private formatErrorTypeToTitle; private getDefaultDescription; private getPossibleSolutions; }