errors module¶
-
class
ErrorMixin(**ctx: Any)[source]¶ Bases:
objectThe mixin for base exceptions.
- Parameters
ctx (Any) – content variables.
-
exception
Error(**ctx: Any)[source]¶ Bases:
errors.ErrorMixin,ExceptionBase-class for all exceptions raised by this plugin.
-
exception
PathError(path: str, **kwargs: Any)[source]¶ Bases:
errors.ErrorThe base-class for all path-related exceptions.
- Parameters
path (str) – path string.
-
exception
PathNotAExecutableError(path: str, **kwargs: Any)[source]¶ Bases:
errors.PathError
-
exception
LocatorError(locator: str, **kwargs: Any)[source]¶ Bases:
errors.ErrorThe base-class for all locator-related exceptions.
- Parameters
path (str) – locatore string.
-
exception
LocatorNotAValidSelectorOrXPathError(locator: str, **kwargs: Any)[source]¶ Bases:
errors.LocatorError
-
exception
ElementError(locator: str, **kwargs: Any)[source]¶ Bases:
errors.ErrorThe base-class for all element-related exceptions.
- Parameters
locator (str) – element locator string.
-
exception
ElementNotExistError(locator: str, **kwargs: Any)[source]¶ Bases:
errors.ElementError