MCPcopy Create free account
hub / github.com/docker/go-plugins-helpers / NewErrorResponse

Function NewErrorResponse

network/api.go:204–206  ·  view source on GitHub ↗

NewErrorResponse creates an ErrorResponse with the provided message

(msg string)

Source from the content-addressed store, hash-verified

202
203// NewErrorResponse creates an ErrorResponse with the provided message
204func NewErrorResponse(msg string) *ErrorResponse {
205 return &ErrorResponse{Err: msg}
206}
207
208// Handler forwards requests and responses between the docker daemon and the plugin.
209type Handler struct {

Callers 1

initMuxMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…