type runtime.TypeAssertionError
9 uses
runtime (current package)
error.go#L21: type TypeAssertionError struct {
error.go#L28: func (*TypeAssertionError) RuntimeError() {}
error.go#L30: func (e *TypeAssertionError) Error() string {
iface.go#L45: panic(&TypeAssertionError{nil, typ, &inter.typ, name.name()})
iface.go#L92: panic(&TypeAssertionError{concrete: typ, asserted: &inter.typ, missingMethod: m.init()})
iface.go#L262: panic(&TypeAssertionError{iface, have, want, ""})
iface.go#L278: panic(&TypeAssertionError{nil, nil, want, ""})
iface.go#L424: panic(&TypeAssertionError{nil, nil, &inter.typ, ""})
iface.go#L451: panic(&TypeAssertionError{nil, nil, &inter.typ, ""})