Skip to main content

Module exit_codes

Module exit_codes 

Source
Expand description

Exit codes for agent-friendly error handling. Agents can branch on specific failure modes without parsing error text.

Constantsยง

API_ERROR
Jira API returned a non-2xx error.
AUTH_ERROR
Authentication failed (bad or missing token).
GENERAL_ERROR
General / unexpected error.
INPUT_ERROR
Bad user input or config error (wrong key format, missing config, etc.).
NOT_FOUND
Resource not found.
RATE_LIMIT
Rate limited by Jira.
SUCCESS
Command succeeded.