diff --git a/lon_deployer/exceptions.py b/lon_deployer/exceptions.py new file mode 100644 index 0000000..a908eb0 --- /dev/null +++ b/lon_deployer/exceptions.py @@ -0,0 +1,10 @@ +class FastbootException(Exception): + pass + + +class DeviceNotFound(Exception): + pass + + +class RepartitonError(Exception): + pass diff --git a/lon_deployer/main.py b/lon_deployer/main.py index ecf9066..8b508f8 100644 --- a/lon_deployer/main.py +++ b/lon_deployer/main.py @@ -13,11 +13,10 @@ from time import sleep import adbutils import adbutils.shell -from rich.console import Console from rich.prompt import Prompt from rich_argparse import RichHelpFormatter -from . import Files +from . import exceptions from . import fastboot from . import files from ._version import VERSION