exception canlib.linlib.LinError[source]

Base class for exceptions raised by the linlib class

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


exception canlib.linlib.LinGeneralError(status)[source]

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


Do not explicitly catch this error, instead catch LinError. 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 LinError can always be accessed through a status attribute.


exception canlib.linlib.LinNoMessageError[source]

Bases: LinError

No messages where availible

status = -1


exception canlib.linlib.LinNotImplementedError[source]

Bases: LinError

Feature/function not implemented in the device

status = -26