MCPcopy
hub / github.com/cayleygraph/cayley / Error

Method Error

graph/quadwriter.go:93–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93func (e *DeltaError) Error() string {
94 if !e.Delta.Quad.IsValid() {
95 return e.Err.Error()
96 }
97 return e.Delta.Action.String() + " " + e.Delta.Quad.String() + ": " + e.Err.Error()
98}
99
100// IsQuadExist returns whether an error is a DeltaError
101// with the Err field equal to ErrQuadExists.

Callers 15

WriteErrorFunction · 0.45
defaultErrorFuncFunction · 0.45
ServeV1WriteNQuadMethod · 0.45
serveDocPageFunction · 0.45
serveUIFunction · 0.45
StringMethod · 0.45
InitFunction · 0.45
TestRemoveQuadFunction · 0.45
TestTransactionFunction · 0.45
TestLinksToFunction · 0.45
TestAndAndFixedIteratorsFunction · 0.45

Calls 1

StringMethod · 0.65

Tested by 14

StringMethod · 0.36
TestRemoveQuadFunction · 0.36
TestTransactionFunction · 0.36
TestLinksToFunction · 0.36
TestAndAndFixedIteratorsFunction · 0.36
TestAllIteratorsFunction · 0.36
TestNullIteratorAndFunction · 0.36
TestReorderWithTagFunction · 0.36
TestAndStatisticsFunction · 0.36
TestLimitIteratorBasicsFunction · 0.36