:mod:`gammu.exception` -- Gammu exception handling
==================================================

.. module:: gammu.exception
    :synopsis: Defines all exceptions used in Gammu.

.. exception:: gammu.exception.GSMError

    Generic class as parent for all Gammu exceptions. This is never raised
    directly, but should be used to catch any Gammu related exception.

.. autoexception:: gammu.exception.ERR_NONE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEOPENERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICELOCKED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICENOTEXIST
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEBUSY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICENOPERMISSION
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICENODRIVER
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICENOTWORK
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEDTRRTSERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICECHANGESPEEDERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEWRITEERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEREADERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DEVICEPARITYERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_TIMEOUT
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FRAMENOTREQUESTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNKNOWNRESPONSE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNKNOWNFRAME
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNKNOWNCONNECTIONTYPESTRING
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNKNOWNMODELSTRING
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_SOURCENOTAVAILABLE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOTSUPPORTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_EMPTY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_SECURITYERROR
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_INVALIDLOCATION
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOTIMPLEMENTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FULL
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNKNOWN
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_CANTOPENFILE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_MOREMEMORY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_PERMISSION
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_EMPTYSMSC
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_INSIDEPHONEMENU
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOTCONNECTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_WORKINPROGRESS
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_PHONEOFF
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FILENOTSUPPORTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_BUG
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_CANCELED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NEEDANOTHERANSWER
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_OTHERCONNECTIONREQUIRED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_WRONGCRC
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_INVALIDDATETIME
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_MEMORY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_INVALIDDATA
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FILEALREADYEXIST
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FILENOTEXIST
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_SHOULDBEFOLDER
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_SHOULDBEFILE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOSIM
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_GNAPPLETWRONG
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FOLDERPART
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_FOLDERNOTEMPTY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DATACONVERTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_UNCONFIGURED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_WRONGFOLDER
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_PHONE_INTERNAL
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_WRITING_FILE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NONE_SECTION
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_USING_DEFAULTS
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_CORRUPTED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_BADFEATURE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_DISABLED
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_SPECIFYCHANNEL
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOTRUNNING
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_NOSERVICE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_BUSY
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_COULDNT_CONNECT
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_COULDNT_RESOLVE
    :show-inheritance:
.. autoexception:: gammu.exception.ERR_GETTING_SMSC
    :show-inheritance:
