MCPcopy
hub / github.com/getsops/sops / Error

Method Error

sops.go:70–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68type sopsError string
69
70func (e sopsError) Error() string {
71 return string(e)
72}
73
74// MacMismatch occurs when the computed MAC does not match the expected ones
75const MacMismatch = sopsError("MAC mismatch")

Callers 15

TestNewMasterKeyFunction · 0.45
TestUnflattenTreeBranchFunction · 0.45
TestFlattenTreeBranchFunction · 0.45
TestExtractMetadataFunction · 0.45
TestDuplicateAttributesFunction · 0.45
TestDecodeNumberFunction · 0.45
TestDecodeArrayFunction · 0.45
TestDecodeEmptyFunction · 0.45
TestEmitBinaryFileNoDataFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestNewMasterKeyFunction · 0.36
TestUnflattenTreeBranchFunction · 0.36
TestFlattenTreeBranchFunction · 0.36
TestExtractMetadataFunction · 0.36
TestDuplicateAttributesFunction · 0.36
TestDecodeNumberFunction · 0.36
TestDecodeArrayFunction · 0.36
TestDecodeEmptyFunction · 0.36
TestEmitBinaryFileNoDataFunction · 0.36