UNPKG

@solid/community-server

Version:

Community Solid Server: an open and modular implementation of the Solid specifications

17 lines 765 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MovedPermanentlyHttpError = void 0; const RedirectHttpError_1 = require("./RedirectHttpError"); // eslint-disable-next-line ts/naming-convention const BaseHttpError = (0, RedirectHttpError_1.generateRedirectHttpErrorClass)(301, 'MovedPermanentlyHttpError'); /** * Error used for resources that have been moved permanently. * Methods other than GET may or may not be changed to GET in subsequent requests. */ class MovedPermanentlyHttpError extends BaseHttpError { constructor(location, message, options) { super(location, message, options); } } exports.MovedPermanentlyHttpError = MovedPermanentlyHttpError; //# sourceMappingURL=MovedPermanentlyHttpError.js.map