UNPKG

@sentzunhat/zacatl

Version:

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

17 lines 490 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UnauthorizedError = void 0; const custom_1 = require("./custom"); class UnauthorizedError extends custom_1.CustomError { constructor({ message, reason, metadata, error }) { super({ message, code: 401, reason, metadata, error, }); } } exports.UnauthorizedError = UnauthorizedError; //# sourceMappingURL=unauthorized.js.map