go type_error official true

panic: interface conversion: interface {} is X, not Y

ID: go/panic-interface-conversion-interface-is-x-not-y

Also available as: JSON · Markdown
80%Fix Rate
95%Confidence
0Evidence

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
1.x active

Root Cause

Type assertion failed. The interface holds a different concrete type than expected.

generic