UNPKG

@midware/mauth

Version:

A simple auth middleware for Node.js

10 lines 321 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class UnauthorizedError extends Error { constructor(message) { super(message ? message : 'Unauthorized'); this.name = 'Unauthorized'; } } exports.default = UnauthorizedError; //# sourceMappingURL=unauthorizedError.js.map