MCPcopy Create free account
hub / github.com/buger/jsonparser / aliasErrorString

Function aliasErrorString

aliases_test.go:31–36  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

29}
30
31func aliasErrorString(err error) string {
32 if err == nil {
33 return ""
34 }
35 return err.Error()
36}
37
38// Verifies: SYS-REQ-006 (array iteration alias)
39// reqproof:proptest:skip parity test for a thin compatibility wrapper

Callers 3

TestEachArrayAliasFunction · 0.85
TestEachArrayErrAliasFunction · 0.85

Calls 1

ErrorMethod · 0.80

Tested by

no test coverage detected