본문으로 건너뛰기

Exit Codes

FluxLoop CLI uses standard exit codes to indicate the result of command execution.

CodeStatusDescription
0SuccessCommand completed successfully
1General ErrorCatch-all for general errors
2Configuration ErrorMissing or invalid configuration
3Authentication ErrorNot logged in or invalid API key
4Network ErrorFailed to connect to Web Platform
5Resource Not FoundRequested project, scenario, or bundle not found
10Test FailureOne or more tests failed
11Generation ErrorFailed to generate test inputs
12Sync ConflictMerge conflicts during sync

Usage in Scripts

You can use these exit codes in your CI/CD pipelines:

# Example in a shell script
fluxloop test --yes --no-skip-upload

if [ $? -eq 0 ]; then
echo "Tests passed!"
elif [ $? -eq 10 ]; then
echo "Tests failed, but execution completed."
else
echo "A critical error occurred."
exit 1
fi