text_lint.exceptions.lookups.LookupUnknown

class text_lint.exceptions.lookups.LookupUnknown(lookup: LookupBase)[source]

Bases: LookupExceptionBase

Raised when an unknown lookup is encountered.

__init__(lookup: LookupBase) None[source]

Initialize LookupUnknown exceptions.

Parameters:

lookup (LookupBase) – The lookup operation encountering the unknown lookup type.

with_traceback()

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