"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpDetailedAccessDeniedError = exports.HttpUserError = void 0;
const http_1 = require("@deepkit/http");
exports.HttpUserError = (0, http_1.createHttpError)(422);
// todo: Deepkit has added the original error prop to the event and we can use normal workflow to handle this now
// Deepkit's built in HttpAccessDeniedError fires a special workflow event
// that doesn't contain the original error or the message that was attached to it
exports.HttpDetailedAccessDeniedError = (0, http_1.createHttpError)(403);
//# sourceMappingURL=errors.js.map