mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2025-07-18 10:51:48 +00:00
17 lines
350 B
Python
17 lines
350 B
Python
"""module for exit codes used in the application."""
|
|
|
|
from enum import IntEnum, auto
|
|
|
|
|
|
class ExitCode(IntEnum):
|
|
"""Exit codes for the application."""
|
|
|
|
SUCCESS = 0
|
|
ERROR = auto()
|
|
INVALID_ARGUMENT = auto()
|
|
INVALID_PARAMETER = auto()
|
|
NOT_FOUND = auto()
|
|
ALREADY_EXISTS = auto()
|
|
TIMEOUT = auto()
|
|
UNKNOWN_ERROR = auto()
|