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

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

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

function DivideByZeroError() {
	ExecutionError.call(this);
	return this;
}

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

DivideByZeroError.prototype.getExpression = function(context) {
	return context.getRegisteredValue("DIVIDE_BY_ZERO");
};

exports.DivideByZeroError = DivideByZeroError;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy