export interface ExceptionSpec { name: string; code?: string; message?: string; retry?: boolean; details?: object; } export declare class Exception extends Error { code: string; retry?: boolean; details?: any; constructor(spec: ExceptionSpec); } export declare class ScriptException extends Exception { scriptError: boolean; constructor(spec: ExceptionSpec & { scriptError?: boolean; }); } //# sourceMappingURL=exception.d.ts.map