UNPKG

bb-inspired

Version:

Core library for BB-inspired NestJS backend

11 lines 401 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseRepository = void 0; const common_1 = require("@nestjs/common"); class BaseRepository { handleNotFound(id, entityName) { throw new common_1.NotFoundException(`${entityName} with identifier ${id} not found`); } } exports.BaseRepository = BaseRepository; //# sourceMappingURL=base.repository.js.map