1 function SOAPError( message ) { 2 this.message = message; 3 this.name = "SOAPError"; 4 Error.captureStackTrace( this, SOAPError ); 5 } 6 SOAPError.prototype = Object.create( Error.prototype ); 7 SOAPError.prototype.constructor = SOAPError; 8 9 module.exports = SOAPError;