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

Struct ErrorResponse

ipam/api.go:82–84  ·  view source on GitHub ↗

ErrorResponse is a formatted error message that libnetwork can understand

Source from the content-addressed store, hash-verified

80
81// ErrorResponse is a formatted error message that libnetwork can understand
82type ErrorResponse struct {
83 Err string
84}
85
86// NewErrorResponse creates an ErrorResponse with the provided message
87func NewErrorResponse(msg string) *ErrorResponse {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected