exceptions

Define exceptions thrown by django-render-static

class render_static.exceptions.URLGenerationFailed[source]

Bases: Exception

Thrown by urls_to_js under any circumstance where URL generation fails for a specific fully qualified URL name.

__init__(*args, **kwargs)
classmethod __new__(*args, **kwargs)
class render_static.exceptions.ReversalLimitHit[source]

Bases: Exception

Thrown by urls_to_js under any circumstance where the configured maximum number of tries has been hit when attempting to reverse a URL.

__init__(*args, **kwargs)
classmethod __new__(*args, **kwargs)