DeclarationError#

exception cli_interview_kit.DeclarationError[source]#

A declaration is used in a way it does not allow.

A programming error in the app, not the user’s: for example asking for a consent the command never declared. Declarations that are invalid on their own are rejected when they are built, with pydantic’s ValidationError.