INNER CODE UNIT · Python

CapcutError

renezander030/capcut-cli · python/capcut/__init__.py:57

class CapcutError(Exception):
    """Base class for everything this module raises."""


class CliNotFound(CapcutError):
    """The ``capcut`` binary is not on PATH and ``CAPCUT_CLI`` is not set."""


@dataclass
class Result:
    """One CLI invocation: exit status, raw streams, and the parsed JSON (``data``)."""

    cmd: str
    args: List[str]
    status: int
    stdout: str
    stderr: str
    data: Any = None

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…