@belgattitude/http-exception
Version:
Warning: has been moved to @httpx/exception. Please update.
20 lines (17 loc) • 806 B
JavaScript
import { inherits as _inherits, createClass as _createClass, assertThisInitialized as _assertThisInitialized } from '../_virtual/_rollupPluginBabelHelpers.js';
import { getSuper } from '../utils/getSuper.js';
import { HttpClientException } from '../base/HttpClientException.js';
var HttpTooEarly = function (_HttpClientException) {
_inherits(HttpTooEarly, _HttpClientException);
function HttpTooEarly(msgOrParams) {
var _this;
var name = 'TooEarly';
_this = _HttpClientException.call(this, 425, getSuper(name, msgOrParams)) || this;
Object.setPrototypeOf(_assertThisInitialized(_this), HttpTooEarly.prototype);
_this.name = "Http".concat(name);
return _this;
}
return _createClass(HttpTooEarly);
}(HttpClientException);
HttpTooEarly.STATUS = 425;
export { HttpTooEarly };