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