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

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

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