X_NEW_ERROR_CODE_PATTERN_UNKNOWN
Means
the package's errors.ts has no shape new-error-code can add to
Typical cause
no …TITLES object, no literal registerErrorCodes({ … }) and no frozen …ERROR_CODES declarations, so adding the code would mean guessing. Both edits are planned before either is written, so the refusal leaves both files as they were
Fix
register the code by hand in the package's errors.ts, and add its row to wiki/Error-Codes.md in the same change