Set http error message when available