UNPKG

@brandazm/dynamic-permissions

Version:

A flexible and powerful permissions management system for NestJS applications with built-in security features

16 lines 552 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MigrationException = void 0; const common_1 = require("@nestjs/common"); class MigrationException extends common_1.HttpException { constructor(type, details) { super({ message: `Migration error: ${details}`, errorCode: type, details, }, common_1.HttpStatus.INTERNAL_SERVER_ERROR); this.type = type; } } exports.MigrationException = MigrationException; //# sourceMappingURL=migration.exception.js.map