The NeoFS CLI returns specific exit codes to indicate the outcome of command execution.
Exit Code | Meaning |
---|---|
0 | Command executed successfully. |
1 | Internal error or an unspecified failure. |
2 | Object access denied or unauthorized. |
3 | Await timeout expired for a certain condition. |
4 | Object already removed. |
These exit codes allow you to understand the outcome of the executed command and handle it accordingly in your scripts or automation workflows.