MCPcopy Create free account
hub / github.com/chain/Core / MissingFieldsError

Function MissingFieldsError

core/txbuilder/txbuilder.go:129–131  ·  view source on GitHub ↗

MissingFieldsError returns a wrapped error ErrMissingFields with a data item containing the given field names.

(name ...string)

Source from the content-addressed store, hash-verified

127// MissingFieldsError returns a wrapped error ErrMissingFields
128// with a data item containing the given field names.
129func MissingFieldsError(name ...string) error {
130 return errors.WithData(ErrMissingFields, "missing_fields", name)
131}

Callers 4

BuildMethod · 0.85
BuildMethod · 0.85
BuildMethod · 0.85
BuildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected