"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.assertFound = assertFound;
const common_1 = require("@nestjs/common");
function assertFound(value, message = 'Resource not found') {
    if (value == null)
        throw new common_1.NotFoundException(message);
}
//# sourceMappingURL=assert-found.js.map