PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@ledgerhq/errors/dist

Просмотр файла: helpers.d.ts

export declare const addCustomErrorDeserializer: (name: string, deserializer: (obj: any) => any) => void;
declare type CustomErrorFunc = (message?: string, fields?: {
    [key: string]: any;
}) => void;
export declare const createCustomErrorClass: (name: string) => CustomErrorFunc;
export declare const deserializeError: (object: any) => Error;
export declare const serializeError: (value: any) => undefined | To | string;
interface To {
    name?: string;
    message?: string;
    stack?: string;
}
export {};

Выполнить команду


Для локальной разработки. Не используйте в интернете!