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

Method GetWrapper

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

Source from the content-addressed store, hash-verified

125}
126
127func (m *EncodedError) GetWrapper() *EncodedWrapper {
128 if x, ok := m.GetError().(*EncodedError_Wrapper); ok {
129 return x.Wrapper
130 }
131 return nil
132}
133
134// XXX_OneofWrappers is for the internal use of the proto package.
135func (*EncodedError) XXX_OneofWrappers() []interface{} {

Callers 2

TestEncodeDecodeStatusFunction · 0.80
DecodeErrorFunction · 0.80

Calls 1

GetErrorMethod · 0.95

Tested by 1

TestEncodeDecodeStatusFunction · 0.64