@middy/http-error-handler

middyjs
esm cjs
@middy/http-error-handler JS library homepage @middy/http-error-handler JS library on GitHub @middy/http-error-handler JS library on npm Download @middy/http-error-handler JS library

Http error handler middleware for the middy framework

Version 6.3.1 License MIT
@middy/http-error-handler JS library homepage
@middy/http-error-handler JS library on GitHub
@middy/http-error-handler JS library on npm
Download @middy/http-error-handler JS library
Keywords
LambdaMiddlewareServerlessFrameworkAWSAWS LambdaMiddyHTTPAPIError HandlerError Handling
INSTALL
Type:
Version:
<script type="module"> import middyhttpErrorHandler from 'https://cdn.jsdelivr.net/npm/@middy/http-error-handler@6.3.1/+esm' </script>
Learn more

Middy http-error-handler middleware

Middy logo

HTTP error handler middleware for the middy framework, the stylish Node.js middleware engine for AWS Lambda

npm version npm install size GitHub Actions CI status badge
Standard Code Style Known Vulnerabilities CodeQL Core Infrastructure Initiative (CII) Best Practices
Chat on Gitter Ask questions on StackOverflow

You can read the documentation at: https://middy.js.org/docs/middlewares/http-error-handler

License

Licensed under MIT License. Copyright (c) 2017-2025 Luciano Mammino, will Farrell, and the Middy team.

FOSSA Status