fast-controllers
Version:
class based controllers, and implied folder route mapping for Fastify
14 lines (13 loc) • 455 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FastControllerException = void 0;
class FastControllerException extends Error {
name = 'FastControllerException';
statusCode = 500;
constructor(message, statusCode) {
super(message);
this.statusCode = statusCode || this.statusCode;
}
}
exports.FastControllerException = FastControllerException;
exports.default = FastControllerException;