# Exceptions

## KvmError

exception `canlib.kvmlib.``KvmError`

  Base class for exceptions raised by the kvmlib dll

## KvmDiskError

exception `canlib.kvmlib.``KvmDiskError`

  General disk error

  `status` = -24

## KvmDiskNotFormated

exception `canlib.kvmlib.``KvmDiskNotFormated`

  Disk not formatted

  `status` = -34

## KvmNoDisk

exception `canlib.kvmlib.``KvmNoDisk`

  No disk found

  `status` = -13

## KvmNoLogMsg

exception `canlib.kvmlib.``KvmNoLogMsg`

  No log message found

  `status` = -10

## LockedLogError

exception `canlib.kvmlib.``LockedLogError`

  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.