omxware.exceptions package
Submodules
omxware.exceptions.DataException module
Data Service Exception
-
exception
omxware.exceptions.DataException.EntityNotFound[source]
Bases: omxware.exceptions.Error.Error
-
exception
omxware.exceptions.DataException.InvalidParameter[source]
Bases: Exception
-
exception
omxware.exceptions.DataException.NotAuthorized[source]
Bases: Exception
-
exception
omxware.exceptions.DataException.ServerError[source]
Bases: Exception
omxware.exceptions.Error module
-
exception
omxware.exceptions.Error.Error[source]
Bases: Exception
Base class for exceptions in this module.
omxware.exceptions.InvalidParamsException module
OMXWare InvalidParams Exception
-
exception
omxware.exceptions.InvalidParamsException.InvalidParamsError(message)[source]
Bases: omxware.exceptions.Error.Error
-
get_message()[source]
Return the status code
omxware.exceptions.ServiceException module
OMXWare service Exception
-
exception
omxware.exceptions.ServiceException.ServiceConnectionException(message)[source]
Bases: omxware.exceptions.ServiceException.ServiceException
-
exception
omxware.exceptions.ServiceException.ServiceException(message, status_code)[source]
Bases: omxware.exceptions.Error.Error
Service Exception
-
get_original_code()[source]
Return the original code
-
get_status_code()[source]
Return the status code
-
class
omxware.exceptions.ServiceException.ServiceStatusCode[source]
Bases: enum.Enum
Service Status Code
-
Connect = 9000
-
Created = 201
-
EntityNotFound = 404
-
InternalError = 500
-
InvalidParameter = 400
-
Ok = 200
-
OperationNotPermitted = 403
-
Unknown = 9999
Module contents