from enum import Enum


class CliReturnCode(Enum):
    """Error codes returned by :py:mod:`nexuscli.cli`"""
    SUCCESS = 0
    NO_FILES = 1
    API_ERROR = 2
    INVALID_SUBCOMMAND = 10
    POLICY_NOT_FOUND = 20
    REPOSITORY_NOT_FOUND = 30
    UNKNOWN_ERROR = 99
