forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mobile: Add respones codes to the error details
The HTTP response code is not reported in the Cronvoy exceptions, and the error_code, which maps from some small subset of response codes to envoy_error_code_t, is not used in the onError functions. As a first step, we want to append the HTTP response code and the Envoy error code to the error details. A subsequent PR will add more support for mapping Http::Code to envoy_error_code_t (or getting rid of envoy_error_code_t all together). Signed-off-by: Ali Beyad <abeyad@google.com>
- Loading branch information
Showing
2 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters