intridea/grape — pull request #520 by salimane (2013-12-02 16:12:51+00:00)
Title: use default_error_status if set in error! function

If ``default_error_status`` is set, the endpoint ``error!`` function still uses a hardcoded ``403`` http status code.
This pr sets the http status code used in the ``error!`` function to use the ``default_error_status`` whatever it is.
Thanks