Exceptions

KvmError

exception canlib.kvmlib.KvmError[source]

Base class for exceptions raised by the kvmlib dll

KvmDiskError

exception canlib.kvmlib.KvmDiskError[source]

General disk error

status = -24

KvmDiskNotFormated

exception canlib.kvmlib.KvmDiskNotFormated[source]

Disk not formatted

status = -34

KvmNoDisk

exception canlib.kvmlib.KvmNoDisk[source]

No disk found

status = -13

KvmNoLogMsg

exception canlib.kvmlib.KvmNoLogMsg[source]

No log message found

status = -10

LockedLogError

exception canlib.kvmlib.LockedLogError[source]

Raised when trying to mount a log file to a locked log

Only one log file can be “mounted” internally at time. When a LogFile object requires its log file to be kept mounted for an extended period of time (such as when iterating over it) it will lock its containing MountedLog object. If during this time an attempt is made to mount a log file, this error will be raised.