@ocubist/error-alchemy
Version:
A powerful Node.js error-handling-framework with custom error types for easy debugging, enhanced error management, strong zod-support and useful quality-of-life-functionality for asserting and validating values.
8 lines • 355 B
TypeScript
/**
* Modifies the stack trace of an error by removing a specified number of stack frames.
*
* @param {Error} err - The error whose stack trace should be modified.
* @param {number} amount - The number of stack frames to remove.
*/
export declare const popTranceStack: (err: Error, amount: number) => void;
//# sourceMappingURL=popStackLayer.d.ts.map