mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 11:58:37 +09:00
🎨 Chore (#289)
This commit is contained in:
+15
-3
@@ -1,7 +1,19 @@
|
||||
class APKMirrorScrapperFailure(Exception):
|
||||
"""Failed to scrap icon from apkmirror."""
|
||||
from typing import Any
|
||||
|
||||
pass
|
||||
|
||||
class APKMirrorIconScrapFailure(Exception):
|
||||
"""Exception raised when the icon cannot be scraped from apkmirror."""
|
||||
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
||||
"""Initialize the APKMirrorIconScrapFailure exception.
|
||||
|
||||
Args:
|
||||
*args: Variable length argument list.
|
||||
**kwargs: Arbitrary keyword arguments.
|
||||
url (str, optional): The URL of the failed icon scraping. Defaults to None.
|
||||
"""
|
||||
super().__init__(*args)
|
||||
self.url = kwargs.get("url", None)
|
||||
|
||||
|
||||
class PatchingFailed(Exception):
|
||||
|
||||
Reference in New Issue
Block a user