Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { HTTPCode int `json:"-"` Code string `json:"code"` Message string `json:"message"` Detail any `json:"detail"` }
Error is a struct for a Docker-compatible error
type Response ¶
type Response struct {
Errors []*Error `json:"errors"`
}
Response is a struct for Docker error response
func NewResponse ¶
NewResponse creates a new DockerErrorResponse
Click to show internal directories.
Click to hide internal directories.