@qrvey/formula-lang
Version:
QFormula support for qrvey projects
29 lines • 764 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInfo = void 0;
const dictionary_1 = require("../dictionary");
function getInfo(errorObj) {
const messageList = [];
const { message } = errorObj;
messageList.push(message);
return {
errorList,
messageList,
};
}
exports.getInfo = getInfo;
const errorList = [
{
regex: /Invalid floating point operation/,
value: dictionary_1.ERROR_LIST.floatingPoint,
},
{
regex: /Numeric value .* is not recognized/,
value: dictionary_1.ERROR_LIST.unknownToken,
},
{
regex: /invalid identifier .*/,
value: dictionary_1.ERROR_LIST.unknownToken,
},
];
//# sourceMappingURL=snowflake.js.map