/
azure.core.exceptions.AzureError.yml
66 lines (63 loc) · 2.09 KB
/
azure.core.exceptions.AzureError.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
### YamlMime:PythonClass
uid: azure.core.exceptions.AzureError
name: AzureError
fullName: azure.core.exceptions.AzureError
module: azure.core.exceptions
inheritances:
- builtins.Exception
summary: Base exception for all errors.
constructor:
syntax: 'AzureError(message: object | None, *args: Any, **kwargs: Any)'
parameters:
- name: message
description: The message object stringified as 'message' attribute
isRequired: true
types:
- <xref:object>
keywordOnlyParameters:
- name: error
description: The original exception if any
types:
- <xref:Exception>
variables:
- description: The exception passed with the 'error' kwarg
name: inner_exception
types:
- <xref:Exception>
- description: The exc_type from sys.exc_info()
name: exc_type
- description: The exc_value from sys.exc_info()
name: exc_value
- description: The exc_traceback from sys.exc_info()
name: exc_traceback
- description: A string formatting of message parameter, exc_type and exc_value
name: exc_msg
- description: A stringified version of the message parameter
name: message
types:
- <xref:str>
- description: 'A token reference to continue an incomplete operation. This value
is optional
and will be *None* where continuation is either unavailable or not applicable.'
name: continuation_token
types:
- <xref:str>
methods:
- uid: azure.core.exceptions.AzureError.add_note
name: add_note
summary: "Exception.add_note(note) \u2013\nadd a note to the exception"
signature: add_note()
- uid: azure.core.exceptions.AzureError.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.AzureError.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.AzureError.args
name: args