All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.prompto.error.UserError.js Maven / Gradle / Ivy

var ExecutionError = require("./ExecutionError").ExecutionError;

function UserError(expression) {
	ExecutionError.call(this);
	this.expression = expression;
	return this;
}

UserError.prototype = Object.create(ExecutionError.prototype);
UserError.prototype.constructor = UserError;

UserError.prototype.getExpression = function(context) {
	return this.expression;
};

exports.UserError = UserError;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy