UNPKG

@belgattitude/http-exception

Version:

Warning: has been moved to @httpx/exception. Please update.

20 lines (17 loc) 910 B
import { inherits as _inherits, createClass as _createClass, assertThisInitialized as _assertThisInitialized } from '../_virtual/_rollupPluginBabelHelpers.js'; import { getSuper } from '../utils/getSuper.js'; import { HttpServerException } from '../base/HttpServerException.js'; var HttpVariantAlsoNegotiates = function (_HttpServerException) { _inherits(HttpVariantAlsoNegotiates, _HttpServerException); function HttpVariantAlsoNegotiates(msgOrParams) { var _this; var name = 'VariantAlsoNegotiates'; _this = _HttpServerException.call(this, 506, getSuper(name, msgOrParams)) || this; Object.setPrototypeOf(_assertThisInitialized(_this), HttpVariantAlsoNegotiates.prototype); _this.name = "Http".concat(name); return _this; } return _createClass(HttpVariantAlsoNegotiates); }(HttpServerException); HttpVariantAlsoNegotiates.STATUS = 506; export { HttpVariantAlsoNegotiates };