Exceptions

KvrError

exception canlib.kvrlib.KvrError[source]

Bases: canlib.exceptions.DllException

KvrGeneralError

exception canlib.kvrlib.exceptions.KvrGeneralError(status)[source]

Bases: canlib.kvrlib.exceptions.KvrError

A kvrlib error that does not (yet) have its own Exception

Warning

Do not explicitly catch this error, instead catch KvrError. Your error may at any point in the future get its own exception class, and so will no longer be of this type. The actual status code that raised any KvrError can always be accessed through a status attribute.

KvrBlank

exception canlib.kvrlib.exceptions.KvrBlank[source]

Bases: canlib.kvrlib.exceptions.KvrError

List was not set or no more results.

status = -6

KvrNoAnswer

exception canlib.kvrlib.exceptions.KvrNoAnswer[source]

Bases: canlib.kvrlib.exceptions.KvrError

No answer arrived within given timeout.

status = -8

KvrParameterError

exception canlib.kvrlib.exceptions.KvrParameterError[source]

Bases: canlib.kvrlib.exceptions.KvrError

Error in supplied in parameters.

status = -4

KvrPasswordError

exception canlib.kvrlib.exceptions.KvrPasswordError[source]

Bases: canlib.kvrlib.exceptions.KvrError

Supplied password was wrong.

status = -5

KvrUnreachable

exception canlib.kvrlib.exceptions.KvrUnreachable[source]

Bases: canlib.kvrlib.exceptions.KvrError

Remote device is unreachable.

status = -7

DeviceNotInSetError

exception canlib.kvrlib.DeviceNotInSetError[source]

Bases: KeyError, canlib.exceptions.CanlibException