UNPKG

@foxpage/foxpage-node-sdk

Version:

foxpage node sdk

12 lines (11 loc) 481 B
import { ContextOrigin } from '@foxpage/foxpage-types'; import { FoxpageStatus } from './enum'; import { IFoxpageErrorType } from './interface'; export type ParseDSLErrorDetail = Partial<ContextOrigin>; export declare const ParseDSLErrorCode = "PARSE_DSL_EXCEPTION"; export declare class ParseDSLError extends Error implements IFoxpageErrorType { code: string; detail: ParseDSLErrorDetail; status: FoxpageStatus; constructor(error: Error, origin: ContextOrigin); }