Top

ndio.remote.errors module

lass RemoteError(Exception):
   """
   A generic error arising from an issue pertaining
   to ndio Remotes.
   """
   def __init__(self, message):
       super(Exception, self).__init__(message)
lass RemoteDataNotFoundError(RemoteError):
   """
   Called when data is requested from a Remote but the
   server either cannot access it (maybe a permissions issue?)
   or the data does not exist.
   """
   def __init__(self, message):
       super(RemoteError, self).__init__(message)
lass RemoteDataUploadError(RemoteError):
   """
   Called when there's an issue during data upload. Could be
   because you don't have write access to this channel, or
   because there's a problem with your data. (Check your bounds?)
   """
   def __init__(self, message):
       super(RemoteError, self).__init__(message)
lass BadAPIKeyError(RemoteError):
   """
   Called when you do not specify an API key and one is needed,
   or if you specify an API key that does not match the requirements
   to access/edit the data you're accessing/editing.
   """
   def __init__(self, message):
       super(RemoteError, self).__init__(message)

Classes

class BadAPIKeyError

Called when you do not specify an API key and one is needed, or if you specify an API key that does not match the requirements to access/edit the data you're accessing/editing.

class BadAPIKeyError(RemoteError):
    """
    Called when you do not specify an API key and one is needed,
    or if you specify an API key that does not match the requirements
    to access/edit the data you're accessing/editing.
    """
    def __init__(self, message):
        super(RemoteError, self).__init__(message)

Ancestors (in MRO)

Class variables

var args

Static methods

def __init__(

self, message)

Inheritance: RemoteError.__init__

Initialize self. See help(type(self)) for accurate signature.

def __init__(self, message):
    super(RemoteError, self).__init__(message)

class RemoteDataNotFoundError

Called when data is requested from a Remote but the server either cannot access it (maybe a permissions issue?) or the data does not exist.

class RemoteDataNotFoundError(RemoteError):
    """
    Called when data is requested from a Remote but the
    server either cannot access it (maybe a permissions issue?)
    or the data does not exist.
    """
    def __init__(self, message):
        super(RemoteError, self).__init__(message)

Ancestors (in MRO)

Class variables

var args

Static methods

def __init__(

self, message)

Inheritance: RemoteError.__init__

Initialize self. See help(type(self)) for accurate signature.

def __init__(self, message):
    super(RemoteError, self).__init__(message)

class RemoteDataUploadError

Called when there's an issue during data upload. Could be because you don't have write access to this channel, or because there's a problem with your data. (Check your bounds?)

class RemoteDataUploadError(RemoteError):
    """
    Called when there's an issue during data upload. Could be
    because you don't have write access to this channel, or
    because there's a problem with your data. (Check your bounds?)
    """
    def __init__(self, message):
        super(RemoteError, self).__init__(message)

Ancestors (in MRO)

Class variables

var args

Static methods

def __init__(

self, message)

Inheritance: RemoteError.__init__

Initialize self. See help(type(self)) for accurate signature.

def __init__(self, message):
    super(RemoteError, self).__init__(message)

class RemoteError

A generic error arising from an issue pertaining to ndio Remotes.

class RemoteError(Exception):
    """
    A generic error arising from an issue pertaining
    to ndio Remotes.
    """
    def __init__(self, message):
        super(Exception, self).__init__(message)

Ancestors (in MRO)

  • RemoteError
  • builtins.Exception
  • builtins.BaseException
  • builtins.object

Class variables

var args

Static methods

def __init__(

self, message)

Initialize self. See help(type(self)) for accurate signature.

def __init__(self, message):
    super(Exception, self).__init__(message)