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

Function NewErrorResponse

ipam/api.go:87–89  ·  view source on GitHub ↗

NewErrorResponse creates an ErrorResponse with the provided message

(msg string)

Source from the content-addressed store, hash-verified

85
86// NewErrorResponse creates an ErrorResponse with the provided message
87func NewErrorResponse(msg string) *ErrorResponse {
88 return &ErrorResponse{Err: msg}
89}
90
91// Handler forwards requests and responses between the docker daemon and the plugin.
92type 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…