bugfix for ErrorResponse in the dev environment when an exception is not passed
bugfix for ErrorResponse in the dev environment when an exception is not passed

Trii/RestPHP,Trii/RestPHP,Trii/RestPHP,Trii/RestPHP