[TASK] Add HTTP status code to exceptions
Currently if an exception is rendered with either Debug-
or ProductionExceptionHandler the HTTP status is set to
"500 Internal Server Error".
This change adds a property "statusCode" to the FLOW3
base Exception allowing to set a custom HTTP status code.
This also sets status codes for some of the FLOW3 exceptions
Releases: 1.1, 1.2
- Exception.php (diff)