Repository navigation
Exit Codes And Errors
m4bwav edited this page Nov 21, 2026
·
1 revision
| Exit | Meaning |
|---|---|
| 0 | ok |
| 1 | check failed: proof verdict not loaded, or restore --verify found a difference |
| 2 |
scan found anti-cheat: stop |
| 3 | bad path or input |
Errors from backup, restore, proof and publish-prep print one JSON line to stderr and exit 3. These came from 0.1.0:
{"error": "backup folder not empty: bk"}
{"error": "--version must be MAJOR.MINOR.PATCH"}
{"error": "--appid is required"}
Other messages in the source, not run: missing: <path> (a backup source does not exist), --changenote is required for a Workshop item, Thunderstore name: letters, digits, underscore only.
scan on a path that is not a folder prints plain text, not JSON, and exits 3:
not a directory: nope
proof with no log found is not an error. It returns verdict no-log and exits 1:
"verdict": "no-log",
modwright 0.1.1 · Repository · Wiki updated 2026-11-21