MCPcopy Index your code
hub / github.com/cockroachdb/errors / GetError

Method GetError

errorspb/errors.pb.go:113–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111func (*EncodedError_Wrapper) isEncodedError_Error() {}
112
113func (m *EncodedError) GetError() isEncodedError_Error {
114 if m != nil {
115 return m.Error
116 }
117 return nil
118}
119
120func (m *EncodedError) GetLeaf() *EncodedErrorLeaf {
121 if x, ok := m.GetError().(*EncodedError_Leaf); ok {

Callers 2

GetLeafMethod · 0.95
GetWrapperMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected