Errors
Every X18N error code with its title, fix and exit code.
Each error of x18n has a code such as X18N0001. The CLI prints the code with why the error happened, a fix and a link to the page of the code. With --json, the error is in errors of the envelope, with a docs link to its page here.
The first digit is the group:
0: config.1: plugins.2: finding and parsing locale files.3: scanning source files.4: edits.
| Code | Title | Exit code |
|---|---|---|
| X18N0001 | Invalid config | 2 |
| X18N0002 | Config file could not be loaded | 2 |
| X18N0003 | Unknown project | 2 |
| X18N1001 | Plugin could not be loaded | 2 |
| X18N1002 | Duplicate capability id | 2 |
| X18N1003 | Unknown preset | 2 |
| X18N1004 | Invalid YAML plugin | 2 |
| X18N2001 | No format for resource | 1 |
| X18N2002 | Resource could not be parsed | 1 |
| X18N2003 | Resource is not an object of messages | 1 |
| X18N2004 | Locale file is not static | 1 |
| X18N3001 | Source file could not be scanned | 1 |
| X18N4001 | Resource is read-only | 1 |
| X18N4002 | Rename target already exists | 1 |
| X18N4003 | A decision is needed | 3 |
| X18N4004 | Plan is stale | 4 |
| X18N4005 | No resource for the key | 1 |
| X18N4006 | Key not found | 1 |
| X18N4007 | Placeholder mismatch | 1 |
| X18N4008 | Invalid edit input | 1 |