This repository has been archived on 2024-09-17. You can view files and clone it, but cannot push or open issues or pull requests.
LoN-Deployer/lon_deployer/exceptions.py

23 lines
452 B
Python

class FastbootException(Exception):
def __init__(self, message, output):
super().__init__(message)
self.output = output
class UnauthorizedBootImage(FastbootException):
pass
class DeviceNotFound(Exception):
pass
class RepartitonError(Exception):
pass
class UnsupportedPlatform(Exception):
def __init__(self, platform):
super().__init__(f"{platform} is not supported")
self.platform = platform