MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / not_found

Method not_found

atomic-remote/src/error.rs:313–318  ·  view source on GitHub ↗

Create a not-found (404) error.

(message: impl Into<String>)

Source from the content-addressed store, hash-verified

311
312 /// Create a not-found (404) error.
313 pub fn not_found(message: impl Into<String>) -> Self {
314 Self::HttpError {
315 status: 404,
316 message: message.into(),
317 }
318 }
319
320 /// Create a conflict (409) error.
321 pub fn conflict(message: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected