@pushrocks/smarterror
Version:
better error handling
9 lines (8 loc) • 361 B
TypeScript
import { BaseError } from 'make-error-cause';
export declare const seperatorText = "\n\nThe following exception was the direct cause of the above exception:\n\n";
export declare class SmartError extends BaseError {
name: string;
constructor(errorMessageArg: string, errorCause?: any);
readonly fullStack: string;
readonly cleanFullStack: any;
}