# Controlling the exit code

Specific arguments are at your disposal to control the exit code of the client based on the score, `--min-security` and `--min-stability` (plus `--min-licensing` if the feature is enabled on your account). These are the minimal scores: if not met, the build will have a positive exit code , which will be reported as a failure to the shell and will, most probably, stop your pipeline to progress. In case of error the code will be calculated using a bitmask over the exit code: +1 for a fail on the security score, +2 for a fail on the stability score, +4 for a fail on the licensing score.&#x20;

The default values for these scores are **90** for security and **80** for stability

When any other error occurs, a negative exit code is produced, as described here:\
&#x20;`-1 "No authorisation found"` \
&#x20;`-2 "Failed to get authorisation via browser"` \
&#x20;`-3 "Project unsupported"` \
&#x20;`-6 "Analysis failed"` \
&#x20;`-5 "A running build is present"` \
&#x20;`-7 "Project URL was not specified"` \
&#x20;`-8 "Error loading the configuration"` \
&#x20;`-9 "Error communicating with cloud servers"` \
`-10 "Build tool not found"` \
`-12 "Plan limits exceeded"` \
`-13 "No analysis was run"` \
`-14 "Treoubleshooting failed"` \
`-15 "System unsupported"`

**These exit codes above** can be silenced to 0 by specifying the parameter `--fail-gracefully` when launching the client.
