Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

lino.core.exceptions

Defines Lino specific exceptions

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.