lino.core.exceptions

Defines Lino specific exceptions

(This module's source code is available here.)

Exceptions

ChangedAPI

Protect against non-converted legacy code

UnresolvedChoice

Raised when some undefined choice name is encountered and strict_choicelist_values.

exception lino.core.exceptions.ChangedAPI

Bases: Exception

Protect against non-converted legacy code

exception lino.core.exceptions.UnresolvedChoice

Bases: Exception

Raised when some undefined choice name is encountered and strict_choicelist_values.

This can happen if an application has evolued and removed a choice from some choicelist. When upgrading to the new version, existing database content must be migrated.