puchar/crispy_forms/exceptions.py

17 lines
330 B
Python
Raw Permalink Normal View History

2022-12-05 04:12:09 +01:00
class CrispyError(Exception):
pass
class FormHelpersException(CrispyError):
"""
This is raised when building a form via helpers throws an error.
We want to catch form helper errors as soon as possible because
debugging templatetags is never fun.
"""
pass
class DynamicError(CrispyError):
pass