DiagnosticsError codesM0022 test failedA test called t.Error, t.Fatal or panicked.Last updated Nov 13, 2026Copy MarkdownView as MarkdownAgent setup See also all error codes and marmot explain.M0021 fatal runtime errorThe runtime stopped the program: a deadlock, out of memory, a concurrent map write, or a broken invariant.M0023 import cycleTwo or more packages import each other.