text_lint.exceptions.operations.InvalidParameterValidation

class text_lint.exceptions.operations.InvalidParameterValidation(translated_description: str, translated_detail: str, operation_class: Any)[source]

Bases: OperationExceptionBase

Raised when an operation’s parameter validation is misconfigured.

__init__(translated_description: str, translated_detail: str, operation_class: Any) None[source]

Initialize InvalidParameterValidation exceptions.

Parameters:
  • translated_description (str) – A translated description of the exception.

  • translated_detail (str) – Translated details relating to the exception.

  • operation_class (Any) – The class that triggered the exception.

with_traceback()

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