Exit codesΒΆ
The snap command uses the following exit codes. These are useful when scripting snap operations or
diagnosing failures.
Code |
Meaning |
Description |
|---|---|---|
0 |
Success |
The command completed without error. |
1 |
General error |
The command failed for a reason not covered by a more specific exit code. |
10 |
Retryable error |
Another snap operation is in progress resulting in a |
20 |
Build error |
|
46 |
Internal error |
The snap app binary dispatch failed. Either the |
64 |
Usage error |
Invalid flags, arguments, or an unknown command was provided. |