INNER CODE UNIT · JavaScript
InputException
CloudI/CloudI · src/api/javascript/Erlang.js:123
var InputException = function InputException (message) {
var error = new Error(message);
error.name = 'InputException';
this.message = error.message;
if (error.stack) {
this.stack = error.stack;
}
}
InputException.prototype = Object.create(Error.prototype, {
name: { value: 'InputException' }
});
var OutputException = function OutputException (message) {
var error = new Error(message);
error.name = 'OutputException';
this.message = error.message;
if (error.stack) {
this.stack = error.stack;
}