Exceptions and warnings for pytan3.results
.
pytan3.results.exceptions.
ModuleError
[source]¶Bases: pytan3.exceptions.PyTanError
Parent of all exceptions for pytan3.results
.
pytan3.results.exceptions.
ModuleWarning
[source]¶Bases: pytan3.exceptions.PyTanWarning
Parent of all warnings for pytan3.results
.
Thrown by:
pytan3.results.exceptions.
ResponseError
(result, error)[source]¶Bases: pytan3.results.exceptions.ModuleError
Thrown when a response has an general/uncategorized error.
__init__
(result, error)[source]¶Constructor.
Parameters: |
|
---|
result
= None¶pytan3.results.Result
– Object exception was thrown from.
pytan3.results.exceptions.
ObjectExistsError
(result, error)[source]¶Bases: pytan3.results.exceptions.ResponseError
Thrown when a response tells us the object already exists.
pytan3.results.exceptions.
ObjectNotFoundError
(result, error)[source]¶Bases: pytan3.results.exceptions.ResponseError
Thrown when a response tells us the object already exists.
pytan3.results.exceptions.
TextDeserializeError
(result, text, src, exc)[source]¶Bases: pytan3.results.exceptions.ModuleError
Thrown when deserializing a string into python object.
__init__
(result, text, src, exc)[source]¶Constructor.
Parameters: |
|
---|
result
= None¶pytan3.results.Result
– Object exception was thrown from.
pytan3.results.exceptions.
ApiWrongRequestType
(result, error)[source]¶Bases: pytan3.results.exceptions.ModuleError
Thrown when get result data/object API obj but request is not of that type.
__init__
(result, error)[source]¶Constructor.
Parameters: | result (pytan3.results.Result ) – Object exception was thrown from. |
---|
result
= None¶pytan3.results.Result
– Object exception was thrown from.
pytan3.results.exceptions.
DictionaryPathError
(result, obj, path, src, exc)[source]¶Bases: pytan3.results.exceptions.ModuleError
Thrown when a response has an error when deserializing.
__init__
(result, obj, path, src, exc)[source]¶Constructor.
Parameters: |
|
---|
result
= None¶pytan3.results.Result
– Object exception was thrown from.