MCPcopy Create free account
hub / github.com/bufbuild/buf / NewOptionsInvalidForFormatError

Function NewOptionsInvalidForFormatError

private/buf/buffetch/internal/errors.go:95–97  ·  view source on GitHub ↗

NewOptionsInvalidForFormatError is a fetch error.

(format string, inputName string, issue string)

Source from the content-addressed store, hash-verified

93
94// NewOptionsInvalidForFormatError is a fetch error.
95func NewOptionsInvalidForFormatError(format string, inputName string, issue string) error {
96 return fmt.Errorf("invalid options for input %q for format %q: %s", inputName, format, issue)
97}
98
99// NewOptionsCouldNotParseStripComponentsError is a fetch error.
100func NewOptionsCouldNotParseStripComponentsError(s string) error {

Callers 2

TestGetParsedRefErrorFunction · 0.92
validateRawRefMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestGetParsedRefErrorFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…