Also preserve the error state rather than overriding it, though this doesn't seem to make a difference in practice. Assisted-by: Gemini via Antigravity
AddPatternInst
Dump
Printable
See docs.