MCPcopy
hub / github.com/uber-go/zap / Error

Method Error

zapcore/field_test.go:90–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90func (eobj *errObj) Error() string {
91 if eobj.kind == 1 {
92 panic("panic in Error() method")
93 }
94 return eobj.errMsg
95}
96
97func TestUnknownFieldType(t *testing.T) {
98 unknown := Field{Key: "k", String: "foo"}

Callers 14

TestJSONEncoderArraysFunction · 0.45
TestIOCoreWriteFailureFunction · 0.45
TestBufferWriterFunction · 0.45
encodeErrorFunction · 0.45
AddToMethod · 0.45
TestLevelAsFlagValueFunction · 0.45
TestAddSyncWriteSyncerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected