@qrvey/formula-lang
Version:
QFormula support for qrvey projects
25 lines • 599 B
JavaScript
import { ERROR_LIST } from '../dictionary';
export function getInfo(errorObj) {
const messageList = [];
const { message } = errorObj;
messageList.push(message);
return {
errorList,
messageList,
};
}
const errorList = [
{
regex: /Invalid floating point operation/,
value: ERROR_LIST.floatingPoint,
},
{
regex: /Numeric value .* is not recognized/,
value: ERROR_LIST.unknownToken,
},
{
regex: /invalid identifier .*/,
value: ERROR_LIST.unknownToken,
},
];
//# sourceMappingURL=snowflake.js.map