UNPKG

node-web-mvc

Version:
14 lines (13 loc) 590 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const Exception_1 = __importDefault(require("./Exception")); class HttpMediaTypeNotAcceptableException extends Exception_1.default { constructor(producibleTypes) { super('Could not find acceptable representation: ' + JSON.stringify(producibleTypes)); this.producibleTypes = producibleTypes; } } exports.default = HttpMediaTypeNotAcceptableException;