/* tslint:disable:all */ /** * Generic Error Class resolver */ import { ErrorCode } from "./../../lib/infrastructure/ErrorEnum"; import { StatusCodeEnum } from "./../../lib/infrastructure/StatusCodeEnum"; export declare type KushkiErrorAttr = { code: T; statusCode: V; message: string; }; export declare type KushkiErrors = { [k in T]: KushkiErrorAttr; }; /** * KushkiError Generic captured error. */ export declare class KushkiError extends Error { readonly code: string; private readonly _customMessage; private readonly _error; constructor(error: KushkiErrorAttr, message?: string | null); getMessage(): string | null; getStatusCode(): StatusCodeEnum; }