MCPcopy
hub / github.com/pelletier/go-toml / errorUnmarshaler873

Struct errorUnmarshaler873

unmarshaler_test.go:5022–5022  ·  view source on GitHub ↗

errorUnmarshaler873 is used to test error propagation from UnmarshalTOML

Source from the content-addressed store, hash-verified

5020
5021// errorUnmarshaler873 is used to test error propagation from UnmarshalTOML
5022type errorUnmarshaler873 struct{}
5023
5024func (e *errorUnmarshaler873) UnmarshalTOML([]byte) error {
5025 return errors.New("intentional error")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected