Exceptions¶
Error classes used by this library.
-
exception
odata.exceptions.MultipleResultsFound(*args, **kwargs)¶ Raised when
one()is called but multiple results returned
-
exception
odata.exceptions.NoResultsFound(*args, **kwargs)¶ Raised when
one()is called but zero results returned
-
exception
odata.exceptions.ODataConnectionError(*args, **kwargs)¶ Raised when the endpoint responds with an HTTP error code
-
exception
odata.exceptions.ODataError(*args, **kwargs)¶ Base class for python-odata errors. All other errors are subclassed from this. Raising any other exception class is a bug and should be reported
-
code= None¶ Error code supplied by server
-
detailed_message= None¶ Detailed error message supplied by server
-
message= None¶ Error message supplied by server
-
status_code= None¶ HTTP status
-
-
exception
odata.exceptions.ODataReflectionError(*args, **kwargs)¶ Raised when MetaData is unable to reflect types