text_lint.exceptions.results.ResultDoesNotExist
- class text_lint.exceptions.results.ResultDoesNotExist(lookup_expression: LookupExpression, requesting_operation_name: str)[source]
Bases:
ResultExceptionBaseRaised when a request is made for a non-existent result.
- __init__(lookup_expression: LookupExpression, requesting_operation_name: str) None[source]
Initialize ResultDoesNotExist exceptions.
- Parameters:
lookup_expression (LookupExpression) – The instance referencing this result.
requesting_operation_name (str) – The operation performing this lookup.
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.