# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meterian.io/the-client/using-client-ci-cd/controlling-the-exit-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
