ErrorResponse is a formatted error message that libnetwork can understand
| 80 | |
| 81 | // ErrorResponse is a formatted error message that libnetwork can understand |
| 82 | type ErrorResponse struct { |
| 83 | Err string |
| 84 | } |
| 85 | |
| 86 | // NewErrorResponse creates an ErrorResponse with the provided message |
| 87 | func NewErrorResponse(msg string) *ErrorResponse { |
nothing calls this directly
no outgoing calls
no test coverage detected