jade.utils.utils.handle_key_error

jade.utils.utils.handle_key_error(func)[source]

Decorator to catch KeyError exceptions that happen because the user performs invalid actions.