UNPKG

@foxpage/foxpage-node-sdk

Version:

foxpage node sdk

17 lines (16 loc) 642 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NotFoundModuleDSLError = exports.NotFoundModuleDSLErrorCode = void 0; const enum_1 = require("./enum"); exports.NotFoundModuleDSLErrorCode = 'NOT_FOUND_MODULE_DSL_EXCEPTION'; class NotFoundModuleDSLError extends Error { constructor(pageId, msg) { super(`can't find modules in page@"${pageId}", detail: ` + msg); this.code = exports.NotFoundModuleDSLErrorCode; this.status = enum_1.FoxpageStatus.NOT_FIND_DSL; this.detail = { pageId, }; } } exports.NotFoundModuleDSLError = NotFoundModuleDSLError;