NeahNew/node_modules/layerr/dist/layerr.d.ts
2025-05-03 14:17:46 +02:00

11 lines
428 B
TypeScript

import { LayerrInfo, LayerrOptions } from "./types.js";
export declare class Layerr extends Error {
_cause?: Error;
_info?: LayerrInfo;
constructor(errorOptionsOrMessage?: LayerrOptions | string | Error, messageText?: string);
static cause(err: Layerr | Error): Layerr | Error | null;
static fullStack(err: Layerr | Error): string;
static info(err: Layerr | Error): LayerrInfo;
toString(): string;
}