
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
@andrewscwei/http-error
Advanced tools
Custom HTTP errors with status codes for Node.js, extends SuperError
.
HTTPError
— Generic HTTP errorHTTPBadRequestError
— HTTPError
with status 400
HTTPUnauthorizedError
— HTTPError
with status 401
HTTPPaymentRequiredError
— HTTPError
with status 402
HTTPForbiddenError
— HTTPError
with status 403
HTTPNotFoundError
— HTTPError
with status 404
HTTPMethodNotAllowedError
— HTTPError
with status 405
HTTPNotAcceptableError
— HTTPError
with status 406
HTTPProxyAuthenticationRequiredError
— HTTPError
with status 407
HTTPRequestTimeoutError
— HTTPError
with status 408
HTTPConflictError
— HTTPError
with status 409
HTTPGoneError
— HTTPError
with status 410
HTTPLengthRequiredError
— HTTPError
with status 411
HTTPPreconditionFailedError
— HTTPError
with status 412
HTTPPayloadTooLargeError
— HTTPError
with status 413
HTTPUriTooLongError
— HTTPError
with status 414
HTTPUnsupportedMediaTypeError
— HTTPError
with status 415
HTTPRangeNotSatisfiableError
— HTTPError
with status 416
HTTPExpectationFailedError
— HTTPError
with status 417
HTTPImATeapotError
— HTTPError
with status 418
HTTPMisdirectedRequestError
— HTTPError
with status 421
HTTPUnprocessableEntityError
— HTTPError
with status 422
HTTPLockedError
— HTTPError
with status 423
HTTPFailedDependencyError
— HTTPError
with status 424
HTTPUnorderedCollectionError
— HTTPError
with status 425
HTTPUpgradeRequiredError
— HTTPError
with status 426
HTTPPreconditionRequiredError
— HTTPError
with status 428
HTTPTooManyRequestsError
— HTTPError
with status 429
HTTPRequestHeaderFieldsTooLargeError
— HTTPError
with status 431
HTTPUnavailableForLegalReasonsError
— HTTPError
with status 451
HTTPInternalServerError
— HTTPError
with status 500
HTTPNotImplementedError
— HTTPError
with status 501
HTTPBadGatewayError
— HTTPError
with status 502
HTTPServiceUnavailableError
— HTTPError
with status 503
HTTPGatewayTimeoutError
— HTTPError
with status 504
HTTPHttpVersionNotSupportedError
— HTTPError
with status 505
HTTPVariantAlsoNegotiatesError
— HTTPError
with status 506
HTTPInsufficientStorageError
— HTTPError
with status 507
HTTPLoopDetectedError
— HTTPError
with status 508
HTTPBandwidthLimitExceededError
— HTTPError
with status 509
HTTPNotExtendedError
— HTTPError
with status 510
HTTPNetworkAuthenticationRequireError
— HTTPError
with status 511
FAQs
Basic HTTP errors with status codes for Node.js
We found that @andrewscwei/http-error demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.