# X_INVARIANT

## Means

invariant violated

## Typical cause

framework state that "cannot happen" happened

## Fix

report it with `x doctor --json` output attached

[Core and runtime](/error-codes#core-and-runtime)
