Skip to main content

Exit codes

landbase-cli exits with a standard code on every invocation. Scripts and CI pipelines can branch on these codes to handle errors appropriately.

Code table


Reading the error JSON

When the exit code is non-zero, landbase-cli writes a structured error to stderr:
The code field is a stable machine-readable string. See error codes reference for the full list.

Using exit codes in scripts