dslengine
Version:
Engine to run DSL defined in the MaaP application
22 lines (18 loc) • 476 B
JavaScript
/**
* Exception throw when there is wrong type
*
* @history
* | Name | Action performed | Date |
* | --- | --- | --- |
* | Andrea Mantovani | Create class | 2016-06-13 |
*
* @author Andrea Mantovani
* @license MIT
*/
var WrongTypeException = function (model) {
this.model = model;
};
WrongTypeException.prototype.message = function () {
return `Parameter with a wrong type in ${model.toString()}`;
};
module.exports = WrongTypeException;