Module idpmodem.aterror

Base classes for AT command errors.

Expand source code
"""Base classes for AT command errors.
"""

class AtException(Exception):
    """Base class for AT command exceptions."""


class AtTimeout(AtException):
    """Indicates a timeout waiting for response."""


class AtGnssTimeout(AtException):
    """Indicates a timeout waiting for a GNSS fix."""


class AtCrcError(AtException):
    """Indicates a detected CRC mismatch on a response."""


class AtCrcConfigError(AtException):
    """Indicates a CRC response was received when none expected or vice versa.
    """


class AtUnsolicited(AtException):
    """Indicates unsolicited data was received from the modem."""

Classes

class AtCrcConfigError (*args, **kwargs)

Indicates a CRC response was received when none expected or vice versa.

Expand source code
class AtCrcConfigError(AtException):
    """Indicates a CRC response was received when none expected or vice versa.
    """

Ancestors

  • AtException
  • builtins.Exception
  • builtins.BaseException
class AtCrcError (*args, **kwargs)

Indicates a detected CRC mismatch on a response.

Expand source code
class AtCrcError(AtException):
    """Indicates a detected CRC mismatch on a response."""

Ancestors

  • AtException
  • builtins.Exception
  • builtins.BaseException
class AtException (*args, **kwargs)

Base class for AT command exceptions.

Expand source code
class AtException(Exception):
    """Base class for AT command exceptions."""

Ancestors

  • builtins.Exception
  • builtins.BaseException

Subclasses

class AtGnssTimeout (*args, **kwargs)

Indicates a timeout waiting for a GNSS fix.

Expand source code
class AtGnssTimeout(AtException):
    """Indicates a timeout waiting for a GNSS fix."""

Ancestors

  • AtException
  • builtins.Exception
  • builtins.BaseException
class AtTimeout (*args, **kwargs)

Indicates a timeout waiting for response.

Expand source code
class AtTimeout(AtException):
    """Indicates a timeout waiting for response."""

Ancestors

  • AtException
  • builtins.Exception
  • builtins.BaseException
class AtUnsolicited (*args, **kwargs)

Indicates unsolicited data was received from the modem.

Expand source code
class AtUnsolicited(AtException):
    """Indicates unsolicited data was received from the modem."""

Ancestors

  • AtException
  • builtins.Exception
  • builtins.BaseException