MCPcopy Create free account
hub / github.com/TomWright/dasel / Error

Method Error

model/error.go:11–13  ·  view source on GitHub ↗

Error returns the error message.

()

Source from the content-addressed store, hash-verified

9
10// Error returns the error message.
11func (e MapKeyNotFound) Error() string {
12 return fmt.Sprintf("map key not found: %q", e.Key)
13}
14
15// SliceIndexOutOfRange is returned when an index is invalid.
16type SliceIndexOutOfRange struct {

Callers 15

TestMapKeyExistsFunction · 0.45
TestValue_EqualTypeValueFunction · 0.45
TestValue_KindFunction · 0.45
TestCompletionFunction · 0.45
TestManFunction · 0.45
UpdateMethod · 0.45
MustRunFunction · 0.45
TestXmlReader_WriteFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestMapKeyExistsFunction · 0.36
TestValue_EqualTypeValueFunction · 0.36
TestValue_KindFunction · 0.36
TestCompletionFunction · 0.36
TestManFunction · 0.36
TestXmlReader_WriteFunction · 0.36
Test_valueToStringFunction · 0.36