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

Function NewErrorResponse

volume/api.go:101–103  ·  view source on GitHub ↗

NewErrorResponse creates an ErrorResponse with the provided message

(msg string)

Source from the content-addressed store, hash-verified

99
100// NewErrorResponse creates an ErrorResponse with the provided message
101func NewErrorResponse(msg string) *ErrorResponse {
102 return &ErrorResponse{Err: msg}
103}
104
105// Driver represent the interface a driver must fulfill.
106type Driver interface {

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…