MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / is_not_found_error

Function is_not_found_error

crates/openshell-driver-docker/src/lib.rs:3487–3495  ·  view source on GitHub ↗
(err: &BollardError)

Source from the content-addressed store, hash-verified

3485}
3486
3487fn is_not_found_error(err: &BollardError) -> bool {
3488 matches!(
3489 err,
3490 BollardError::DockerResponseServerError {
3491 status_code: 404,
3492 ..
3493 }
3494 )
3495}
3496
3497fn is_conflict_error(err: &BollardError) -> bool {
3498 matches!(

Calls

no outgoing calls

Tested by

no test coverage detected