Debian Codegraph @

src/_pytest/config/exceptions.py

raw
1 from __future__ import annotations
2
3 from typing import final
4
5
6 @final
7 class UsageError(Exception):
8 """Error in pytest usage or invocation."""
9
10 __module__ = "pytest"
11
12
13 class PrintHelp(Exception):
14 """Raised when pytest should print its help to skip the rest of the
15 argument parsing and validation."""