fast-controllers
Version:
class based controllers, and implied folder route mapping for Fastify
18 lines (17 loc) • 823 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.FastControllerException_InvalidControllerPath = void 0;
const FastControllerException_1 = __importDefault(require("./FastControllerException"));
class FastControllerException_InvalidControllerPath extends FastControllerException_1.default {
name = 'FastControllerException_InvalidControllerPath';
path;
constructor(path) {
super(`FastController path: '${path}' is not valid`);
this.path = path;
}
}
exports.FastControllerException_InvalidControllerPath = FastControllerException_InvalidControllerPath;
exports.default = FastControllerException_InvalidControllerPath;