-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.core.exceptions.StreamConsumedError.yml
64 lines (59 loc) · 2.4 KB
/
azure.core.exceptions.StreamConsumedError.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
### YamlMime:PythonClass
uid: azure.core.exceptions.StreamConsumedError
name: StreamConsumedError
fullName: azure.core.exceptions.StreamConsumedError
module: azure.core.exceptions
inheritances:
- azure.core.exceptions.AzureError
summary: 'Error thrown if you try to access the stream of a response once consumed.
It is thrown if you try to read / stream an ~azure.core.rest.HttpResponse or
~azure.core.rest.AsyncHttpResponse once the response''s stream has been consumed.'
constructor:
syntax: 'StreamConsumedError(response: _HttpResponseCommonAPI)'
parameters:
- name: response
description: The response that triggered the exception.
isRequired: true
types:
- <xref:azure.core.rest.HttpResponse>
- <xref:azure.core.rest.AsyncHttpResponse>
methods:
- uid: azure.core.exceptions.StreamConsumedError.add_note
name: add_note
summary: "Exception.add_note(note) \u2013\nadd a note to the exception"
signature: add_note()
- uid: azure.core.exceptions.StreamConsumedError.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.StreamConsumedError.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.StreamConsumedError.args
name: args
- uid: azure.core.exceptions.StreamConsumedError.continuation_token
name: continuation_token
signature: 'continuation_token: str | None'
- uid: azure.core.exceptions.StreamConsumedError.exc_msg
name: exc_msg
signature: 'exc_msg: str'
- uid: azure.core.exceptions.StreamConsumedError.exc_traceback
name: exc_traceback
signature: 'exc_traceback: TracebackType | None'
- uid: azure.core.exceptions.StreamConsumedError.exc_type
name: exc_type
signature: 'exc_type: Type[Any] | None'
- uid: azure.core.exceptions.StreamConsumedError.exc_value
name: exc_value
signature: 'exc_value: BaseException | None'
- uid: azure.core.exceptions.StreamConsumedError.inner_exception
name: inner_exception
signature: 'inner_exception: BaseException | None'
- uid: azure.core.exceptions.StreamConsumedError.message
name: message
signature: 'message: str'