Created
January 26, 2023 08:13
-
-
Save Alexandro1112/ab784e06dd472c0599d458588db4c96f to your computer and use it in GitHub Desktop.
exceptions for pyTerminalproccesosx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
|---------------------| | |
|Individual exceptions for methods| | |
|---------------------| | |
""" | |
class ApplicationNameError(NameError): | |
""" | |
App with pointed out name not exist. | |
""" | |
class UseLinuxTerminal(OSError): | |
""" | |
Linux version already working. | |
""" | |
class ApplicationNotExist(SystemError): | |
""" | |
Application, which you point outed is not exist | |
""" | |
class UnsupportedFormat(FileExistsError): | |
""" | |
Method screenshot support only ['png', 'jpg', 'ico', 'gif', 'pict'] formats. | |
""" | |
class ConfirmationError(TypeError): | |
""" | |
If confirmation is [False]. | |
""" | |
class InvalidExtension(NameError): | |
""" | |
No extension specified. | |
""" | |
class LinuxWhileNotSupport(NotImplementedError): | |
""" | |
TODO: | |
make linux version library in a future. | |
""" | |
class WifiNameConnectError(NameError): | |
""" | |
Password or SSID/Wi-fi name of Network is not right. | |
""" | |
class ValueBrightnessError(ValueError, TypeError): | |
""" | |
Value is not type [int]. | |
""" | |
class WifiValueError(ValueError, BaseException): | |
""" | |
There is no wi-fi network in util "bunch keys". | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment