ODataV4Error Class
An HTTP response error where the JSON is decoded as OData V4 error format.
- Inheritance
-
ODataV4Error
Constructor
ODataV4Error(response: _HttpResponseBase, **kwargs: Any)
Parameters
- response
Variables
- odata_json
- dict
The parsed JSON body as attribute for convenience.
- code
- str
Its value is a service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.
- message
- str
Human-readable, language-dependent representation of the error.
- target
- str
The target of the particular error (for example, the name of the property in error). This field is optional and may be None.
- details
- list[ODataV4Format]
Array of ODataV4Format instances that MUST contain name/value pairs for code and message, and MAY contain a name/value pair for target, as described above.
- innererror
- dict
An object. The contents of this object are service-defined. Usually this object contains information that will help debug the service.
Feedback
Submit and view feedback for