Module pysdrlib.err

Error types

Classes

class Busy (*args, **kwargs)
Expand source code
class Busy(_Error):
    """Error thrown when a remote device already has a controller"""

Error thrown when a remote device already has a controller

Ancestors

  • pysdrlib.err._Error
  • builtins.Exception
  • builtins.BaseException
class InvalidValue (*args, **kwargs)
Expand source code
class InvalidValue(_Error):
    """Error thrown when an invalid value is provided"""

Error thrown when an invalid value is provided

Ancestors

  • pysdrlib.err._Error
  • builtins.Exception
  • builtins.BaseException
class NoDevice (*args, **kwargs)
Expand source code
class NoDevice(_Error):
    """Error thrown when unable to connect to device"""

Error thrown when unable to connect to device

Ancestors

  • pysdrlib.err._Error
  • builtins.Exception
  • builtins.BaseException
class NotController (*args, **kwargs)
Expand source code
class NotController(_Error):
    """Error thrown when a viewer (or a client without the controller token) attempts to control a remote device"""

Error thrown when a viewer (or a client without the controller token) attempts to control a remote device

Ancestors

  • pysdrlib.err._Error
  • builtins.Exception
  • builtins.BaseException
class NotOpen (*args, **kwargs)
Expand source code
class NotOpen(_Error):
    """Error thrown when attempting to control device without it open"""

Error thrown when attempting to control device without it open

Ancestors

  • pysdrlib.err._Error
  • builtins.Exception
  • builtins.BaseException
class ProtocolError (*args, **kwargs)
Expand source code
class ProtocolError(_Error):
    """Error thrown when a remote peer sends something that isn't valid pysdrlib protocol"""

Error thrown when a remote peer sends something that isn't valid pysdrlib protocol

Ancestors

  • pysdrlib.err._Error
  • builtins.Exception
  • builtins.BaseException
class RemoteError (*args, **kwargs)
Expand source code
class RemoteError(_Error):
    """Error raised by a remote pysdrlib server that has no more specific type"""

Error raised by a remote pysdrlib server that has no more specific type

Ancestors

  • pysdrlib.err._Error
  • builtins.Exception
  • builtins.BaseException
class StreamStalled (*args, **kwargs)
Expand source code
class StreamStalled(_Error):
    """Error thrown by `get_samples` when the device has stopped delivering samples"""

Error thrown by get_samples when the device has stopped delivering samples

Ancestors

  • pysdrlib.err._Error
  • builtins.Exception
  • builtins.BaseException