UNPKG

@accordproject/concerto-util

Version:

Utilities for Concerto Modeling Language

30 lines (29 loc) 1.59 kB
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ 'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.CONCERTO_DEPRECATION_002 = exports.CONCERTO_DEPRECATION_001 = exports.DEPRECATION_WARNING = exports.TYPE_NOT_FOUND_EXCEPTION = exports.REGEX_VALIDATOR_EXCEPTION = exports.DEFAULT_VALIDATOR_EXCEPTION = exports.DEFAULT_BASE_EXCEPTION = void 0; //default base exception exports.DEFAULT_BASE_EXCEPTION = 'DefaultBaseException'; //default validator exception which is being used when there is no specified validator exception in introspect exports.DEFAULT_VALIDATOR_EXCEPTION = 'DefaultValidatorException'; // exception code for regex validator format error exports.REGEX_VALIDATOR_EXCEPTION = 'RegexValidatorException'; // base exception for Type not found exports.TYPE_NOT_FOUND_EXCEPTION = 'TypeNotFoundException'; // deprecation warning type for process.emitWarning exports.DEPRECATION_WARNING = 'DeprecationWarning'; //deprecation codes exports.CONCERTO_DEPRECATION_001 = 'concerto-dep:001'; exports.CONCERTO_DEPRECATION_002 = 'concerto-dep:002';