-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.core.exceptions.ODataV4Error.yml
111 lines (103 loc) · 3.88 KB
/
azure.core.exceptions.ODataV4Error.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
### YamlMime:PythonClass
uid: azure.core.exceptions.ODataV4Error
name: ODataV4Error
fullName: azure.core.exceptions.ODataV4Error
module: azure.core.exceptions
inheritances:
- azure.core.exceptions.HttpResponseError
summary: 'An HTTP response error where the JSON is decoded as OData V4 error format.
[http://docs.oasis-open.org/odata/odata-json-format/v4.0/os/odata-json-format-v4.0-os.html#_Toc372793091](http://docs.oasis-open.org/odata/odata-json-format/v4.0/os/odata-json-format-v4.0-os.html#_Toc372793091)'
constructor:
syntax: 'ODataV4Error(response: _HttpResponseCommonAPI, **kwargs: Any)'
parameters:
- name: response
description: The response object.
isRequired: true
types:
- <xref:azure.core.rest.HttpResponse>
variables:
- description: The parsed JSON body as attribute for convenience.
name: odata_json
types:
- <xref:dict>
- description: 'Its value is a service-defined error code.
This code serves as a sub-status for the HTTP error code specified in the response.'
name: ~.code
types:
- <xref:str>
- description: Human-readable, language-dependent representation of the error.
name: message
types:
- <xref:str>
- description: 'The target of the particular error (for example, the name of the property
in error).
This field is optional and may be None.'
name: target
types:
- <xref:str>
- description: '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.'
name: details
types:
- <xref:list>[<xref:azure.core.exceptions.ODataV4Format>]
- description: 'An object. The contents of this object are service-defined.
Usually this object contains information that will help debug the service.'
name: innererror
types:
- <xref:dict>
methods:
- uid: azure.core.exceptions.ODataV4Error.add_note
name: add_note
summary: "Exception.add_note(note) \u2013\nadd a note to the exception"
signature: add_note()
- uid: azure.core.exceptions.ODataV4Error.raise_with_traceback
name: raise_with_traceback
summary: 'Raise the exception with the existing traceback.
*Deprecated since version 1.22.0:* This method is deprecated as we don''t support
Python 2 anymore. Use raise/from instead.'
signature: raise_with_traceback() -> None
- uid: azure.core.exceptions.ODataV4Error.with_traceback
name: with_traceback
summary: "Exception.with_traceback(tb) \u2013\nset self.__traceback__ to tb and\
\ return self."
signature: with_traceback()
attributes:
- uid: azure.core.exceptions.ODataV4Error.args
name: args
- uid: azure.core.exceptions.ODataV4Error.continuation_token
name: continuation_token
signature: 'continuation_token: str | None'
- uid: azure.core.exceptions.ODataV4Error.error
name: error
signature: 'error: ODataV4Format | None'
- uid: azure.core.exceptions.ODataV4Error.exc_msg
name: exc_msg
signature: 'exc_msg: str'
- uid: azure.core.exceptions.ODataV4Error.exc_traceback
name: exc_traceback
signature: 'exc_traceback: TracebackType | None'
- uid: azure.core.exceptions.ODataV4Error.exc_type
name: exc_type
signature: 'exc_type: Type[Any] | None'
- uid: azure.core.exceptions.ODataV4Error.exc_value
name: exc_value
signature: 'exc_value: BaseException | None'
- uid: azure.core.exceptions.ODataV4Error.inner_exception
name: inner_exception
signature: 'inner_exception: BaseException | None'
- uid: azure.core.exceptions.ODataV4Error.message
name: message
signature: 'message: str'
- uid: azure.core.exceptions.ODataV4Error.model
name: model
signature: 'model: Any | None'
- uid: azure.core.exceptions.ODataV4Error.reason
name: reason
signature: 'reason: str | None'
- uid: azure.core.exceptions.ODataV4Error.response
name: response
signature: 'response: _HttpResponseCommonAPI | None'
- uid: azure.core.exceptions.ODataV4Error.status_code
name: status_code
signature: 'status_code: int | None'