http-smart-error
JSON →Provides a subclass of SmartError for HTTP errors with status codes, messages, codes, and extra fields. Current stable version 4.0.1 (released 2021 or earlier). Low release cadence. Differentiator: built-in mapping of HTTP status codes to messages (e.g., 400 → 'Bad request') and support for custom error codes and extra data. Requires peer smart-error ^3.0.0.
Resources
packagehttp-smart-error ↗