Neah/node_modules/layerr/dist/layerr.d.ts
2025-04-24 19:10:05 +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;
}