UNPKG

@amirmarmul/waba-common

Version:

![GitHub release](https://img.shields.io/github/v/release/amirmarmul/waba-common?style=flat-square)

12 lines (11 loc) 388 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NotAuthorizedError = void 0; const AppError_1 = require("../../core/errors/AppError"); class NotAuthorizedError extends AppError_1.AppError { constructor() { super('You\'re not authorized', 403); } } exports.NotAuthorizedError = NotAuthorizedError; exports.default = NotAuthorizedError;