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.
CodeTitleExit code
X18N0001Invalid config2
X18N0002Config file could not be loaded2
X18N0003Unknown project2
X18N1001Plugin could not be loaded2
X18N1002Duplicate capability id2
X18N1003Unknown preset2
X18N1004Invalid YAML plugin2
X18N2001No format for resource1
X18N2002Resource could not be parsed1
X18N2003Resource is not an object of messages1
X18N2004Locale file is not static1
X18N3001Source file could not be scanned1
X18N4001Resource is read-only1
X18N4002Rename target already exists1
X18N4003A decision is needed3
X18N4004Plan is stale4
X18N4005No resource for the key1
X18N4006Key not found1
X18N4007Placeholder mismatch1
X18N4008Invalid edit input1