(message, stack)
| 1 | var match = require('pattern-match'); |
| 2 | |
| 3 | function ValidationError(message, stack) { |
| 4 | Error.call(this, message); |
| 5 | this.stack = stack; |
| 6 | this.message = message; |
| 7 | } |
| 8 | |
| 9 | ValidationError.prototype = Object.create(Error.prototype); |
| 10 |
nothing calls this directly
no outgoing calls
no test coverage detected