omegafox/pythonlib/camoufox/exceptions.py
daijro 5e1fb78cfc Camoufox Python interface
Port of the launcher to a Python library.
2024-09-16 04:01:20 -05:00

54 lines
756 B
Python

class UnsupportedArchitecture(Exception):
"""
Raised when the architecture is not supported.
"""
...
class UnsupportedOS(Exception):
"""
Raised when the OS is not supported.
"""
...
class UnknownProperty(Exception):
"""
Raised when the property is unknown.
"""
...
class InvalidPropertyType(Exception):
"""
Raised when the property type is invalid.
"""
...
class InvalidAddonPath(FileNotFoundError):
"""
Raised when the addon path is invalid.
"""
...
class InvalidDebugPort(ValueError):
"""
Raised when the debug port is invalid.
"""
...
class MissingDebugPort(ValueError):
"""
Raised when the debug port is missing.
"""
...