pub enum Error {
Show 20 variants
DockerResponseServerError {
status_code: u16,
message: String,
},
JsonDataError {
message: String,
column: usize,
},
APIVersionParseError {},
RequestTimeoutError,
DockerStreamError {
error: String,
},
DockerContainerWaitError {
error: String,
code: i64,
},
MissingSessionBuildkitError {},
MissingVersionBuildkitError {},
JsonSerdeError {
err: Error,
},
StrParseError {
err: Utf8Error,
},
IOError {
err: Error,
},
StrFmtError {
err: Error,
},
HttpClientError {
err: Error,
},
HyperResponseError {
err: Error,
},
URLEncodedError {
err: Error,
},
URLParseError {
err: ParseError,
},
InvalidURIError {
err: InvalidUri,
},
HyperLegacyError {
err: Error,
},
UnsupportedURISchemeError {
uri: String,
},
SocketNotFoundError(String),
}
Expand description
Generic Docker errors
Variants§
DockerResponseServerError
Generic error emitted by the docker server.
Fields
JsonDataError
Error facilitating debugging failed JSON parsing.
Fields
APIVersionParseError
Error emitted when the docker is requested to build with buildkit without a session id
RequestTimeoutError
Error emitted when a request times out.
DockerStreamError
Error emitted mid-stream as part of a successful docker operation
DockerContainerWaitError
Error emitted as part of a container wait response
Fields
MissingSessionBuildkitError
Error emitted when a session is not provided to the buildkit engine
MissingVersionBuildkitError
Error emitted when a session is not provided to the buildkit engine
JsonSerdeError
Error emitted when JSON fails to serialize.
StrParseError
Error emitted when log output generates an I/O error.
IOError
Error emitted from an I/O error.
StrFmtError
Error emitted from a formatting error.
HttpClientError
Error emitted from an HTTP error.
HyperResponseError
Error emitted from an HTTP error.
URLEncodedError
Error emitted when serde fails to urlencod a struct of options
URLParseError
Error encountered when parsing a URL
Fields
err: ParseError
The original error emitted.
InvalidURIError
Error emitted when encoding a URI
Fields
err: InvalidUri
The original error emitted.
HyperLegacyError
Error that is never emitted
UnsupportedURISchemeError
Error emitted when connecting to a URI with an unsupported scheme
SocketNotFoundError(String)
Error emitted when the Docker socket file is not found at the expected location.