Add request info to ApiException
See original GitHub issueIt would be helpful if ApiException
carried some information about the failed request. For example, the request method and request URI.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Request info is not included in ApiException · Issue #1872
When I query nonexistent resource type, I got ApiException: kubernetes.client.exceptions.ApiException: (404) Reason: Not Found HTTP response ...
Read more >python - Adding custom response Headers to APIException
I have created a custom exception referring to http://django-rest-framework.org/api-guide/exceptions.html. Please know that I have my own ...
Read more >Exceptions - Django REST framework
Exception handling in REST framework views. REST framework's views handle various exceptions, and deal with returning appropriate error responses.
Read more >Custom Error Message Handling for REST API
In this tutorial, we'll discuss how to implement a global error handler for a Spring REST API. We will use the semantics of...
Read more >Handling Exceptions Returned from the Web API
This function displays error information returned from the API in an ... can inform the user that they requested data that isn't available....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@phillijw I’m afraid I don’t understand the question. This exception is thrown because a request went wrong - it will never be thrown before the request happens. I’m not sure why you wouldn’t have access to the endpoint, after making a request to it.
Guys, this is a 2-year-old issue. A request was made, the feature implemented, released, and the issue closed. It’s done and dusted. Please don’t bring it back to life!
That’s a fair request