(msg, status)
| 1 | function StatusError(msg, status) { |
| 2 | var err = Error.call(this, msg); |
| 3 | err.status = status; |
| 4 | err.name = 'StatusError'; |
| 5 | return err; |
| 6 | } |
| 7 | |
| 8 | |
| 9 | StatusError.prototype = Object.create(Error.prototype, { |
nothing calls this directly
no outgoing calls
no test coverage detected