text_lint.exceptions.assertions

Exceptions for linter assertion operations.

Exceptions

AssertionCaptureGroupNotFound(assertion, ...)

Raised when an assertion references a non-existent capture group.

AssertionExceptionBase

Base class for parser assertion exceptions.

AssertionLogicError(assertion, hint, textfile)

Raised when an assertion violates a known programming constraint.

AssertionViolation(assertion, expected, textfile)

Raised when a parser assertion fails.