MCPcopy
hub / github.com/lisong/code-push-server / UnauthorizedError

Function UnauthorizedError

core/app-error.js:22–27  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

20util.inherits(NotFoundError, AppError)
21
22var UnauthorizedError = function(msg) {
23 UnauthorizedError.super_.call(this, msg, this.constructor)
24 this.message = msg || `401 Unauthorized`;
25 this.name = 'UnauthorizedError'
26 this.status = 401
27}
28util.inherits(UnauthorizedError, AppError)
29
30module.exports = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected