MCPcopy Create free account
hub / github.com/docker/cli / Error

Method Error

cli/connhelper/internal/syntax/quote.go:18–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18func (e QuoteError) Error() string {
19 return fmt.Sprintf("cannot quote character at byte %d: %s", e.ByteOffset, e.Message)
20}
21
22const (
23 quoteErrNull = "shell strings cannot contain null bytes"

Callers 6

TestParseURLFunction · 0.45
TestCommandFunction · 0.45
TestCloseRunningCommandFunction · 0.45
TestCloseTwiceFunction · 0.45
TestEOFTimeoutFunction · 0.45
ignorableCloseErrorFunction · 0.45

Calls

no outgoing calls

Tested by 5

TestParseURLFunction · 0.36
TestCommandFunction · 0.36
TestCloseRunningCommandFunction · 0.36
TestCloseTwiceFunction · 0.36
TestEOFTimeoutFunction · 0.36