# Exceptions

## KvlcError

exception canlib.kvlclib.KvlcError

  Bases: `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

  Bases: `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

  Bases: `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

  Bases: `KvlcError`, `NotImplementedError`

  Exception used when kvlclib returns `Error.NOT_IMPLEMENTED`.

  status = -4