text_lint.exceptions.assertions.AssertionExceptionBase

class text_lint.exceptions.assertions.AssertionExceptionBase[source]

Bases: ValueError

Base class for parser assertion exceptions.

__init__(*args, **kwargs)
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.