Exceptions

KvlcError

exception canlib.kvlclib.KvlcError[source]

Bases: canlib.exceptions.DllException

Base class for exceptions raised by the kvlclib module.

Looks up the error text in the kvlclib dll and presents it together with the error code and the wrapper function that triggered the exception.

KvlcEndOfFile

exception canlib.kvlclib.KvlcEndOfFile[source]

Bases: canlib.kvlclib.exceptions.KvlcError

Exception used when kvlclib returns Error.EOF.

Exception used when end of file is reached on input file.

status = -3

KvlcFileExists

exception canlib.kvlclib.KvlcFileExists[source]

Bases: canlib.kvlclib.exceptions.KvlcError

Exception used when kvlclib returns Error.FILE_EXISTS.

File exists, set Property.OVERWRITE to overwrite

New in version 1.17.

status = -6

KvlcNotImplemented

exception canlib.kvlclib.KvlcNotImplemented[source]

Bases: canlib.kvlclib.exceptions.KvlcError, NotImplementedError

Exception used when kvlclib returns Error.NOT_IMPLEMENTED.

status = -4