Searched refs:exception_cls (Results 1 – 2 of 2) sorted by relevance
12 def __init__(self, exception_cls, regex): argument13 self.exception_cls = exception_cls20 if exc_type == self.exception_cls:
110 exception_cls=self._throw_cls,172 exception_cls: Type[BaseException] = MultiException,181 if issubclass(exception_cls, MultiException):182 exception = exception_cls(message, self)184 raise exception_cls(message)