curveball / core

The Curveball framework is a TypeScript framework for node.js with support for modern HTTP features.
https://curveballjs.org/
MIT License
526 stars 7 forks source link

Instead of just setting a 404 status, the framework should throw an error. #92

Closed evert closed 6 years ago

evert commented 6 years ago

The recommendation in this framework will be that any error is thrown as an exception, so that error-handling middlewares can assume that errors can be caught.

The framework itself currently doesn't do that, this should be fixed.