Module xmodel.remote.errors

Expand source code
from xmodel.errors import XModelError


class XRemoteError(XModelError):
    pass


class XRemoteMaintenanceError(XRemoteError):
    """
    Standard exception that should be raised if during an API communication it's determined
    there is an error due to a maintenance window of some sort.
    """

Classes

class XRemoteError (*args, **kwargs)

Base-class for all xmodel exceptions.

Expand source code
class XRemoteError(XModelError):
    pass

Ancestors

  • XModelError
  • builtins.Exception
  • builtins.BaseException

Subclasses

class XRemoteMaintenanceError (*args, **kwargs)

Standard exception that should be raised if during an API communication it's determined there is an error due to a maintenance window of some sort.

Expand source code
class XRemoteMaintenanceError(XRemoteError):
    """
    Standard exception that should be raised if during an API communication it's determined
    there is an error due to a maintenance window of some sort.
    """

Ancestors