Move exceptions to exceptions.py

This commit is contained in:
timoxa0 2024-05-13 21:07:15 +05:00
parent e940c13019
commit 5ee96e2c39
2 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1,10 @@
class FastbootException(Exception):
pass
class DeviceNotFound(Exception):
pass
class RepartitonError(Exception):
pass

View file

@ -13,11 +13,10 @@ from time import sleep
import adbutils import adbutils
import adbutils.shell import adbutils.shell
from rich.console import Console
from rich.prompt import Prompt from rich.prompt import Prompt
from rich_argparse import RichHelpFormatter from rich_argparse import RichHelpFormatter
from . import Files from . import exceptions
from . import fastboot from . import fastboot
from . import files from . import files
from ._version import VERSION from ._version import VERSION