(msg)
| 12 | util.inherits(AppError, Error) |
| 13 | |
| 14 | var NotFoundError = function(msg) { |
| 15 | NotFoundError.super_.call(this, msg, this.constructor) |
| 16 | this.message = msg || 'Not Found'; |
| 17 | this.name = 'NotFoundError' |
| 18 | this.status = 404 |
| 19 | } |
| 20 | util.inherits(NotFoundError, AppError) |
| 21 | |
| 22 | var UnauthorizedError = function(msg) { |
nothing calls this directly
no outgoing calls
no test coverage detected