"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Res405 = void 0;
const UserInterface_1 = require("./UserInterface");
class Res405 extends UserInterface_1.UserInterface {
    prepare(result) { this._data = result; }
    execute() {
        this.response.status(405).send({ message: "Method is not allowed", error: this._data.error });
    }
}
exports.Res405 = Res405;
