express-when-error-type

Simple, unopinionated error middleware to simplify handling errors based on their class.

Usage no npm install needed!

<script type="module">
  import expressWhenErrorType from 'https://cdn.skypack.dev/express-when-error-type';
</script>

README

express-error-by-type

Simple, unopinionated error middleware to simplify handling errors based on their class.