UNPKG

@pushrocks/smarterror

Version:

better error handling

9 lines (8 loc) 361 B
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; }