[DOCS]: Error response schema #545
Labels
hacktoberfest
Issues for participation in Hacktoberfest
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Documentation
Improvements or additions to documentation
Describe the need
I realize the package is just likely returning what comes from the official REST API, but can the schema for a response error be documented? I'm trying to ensure my code knows how to handle the different error responses.
I'm able to deduce that each error response has a
status
property, but that's all that the Github REST API seems to indicate. I'm sure there are other properties besidesstatus
because I'm seeing other things likecode
,message
,headers
, etc. Are these documented somewhere? If so, can the README be updated to point to it? If not, it would be great if it can be added.Thanks in advance.
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: