Exit codes
What turbodl-cli returns, for scripts.
| Code | Meaning |
|---|---|
0 | Download completed (or command succeeded) |
1 | Error: network, server, authentication, file… |
2 | Invalid profile or option (the message names the faulty field) |
130 | Interrupted by Ctrl+C: state saved, resume possible |
Example message for an invalid profile:
error: invalid profile: my.profile.json: request.max_redirs: invalid type: string "ten", expected usize