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

Method conflict

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

Create a conflict (409) error.

(message: impl Into<String>)

Source from the content-addressed store, hash-verified

319
320 /// Create a conflict (409) error.
321 pub fn conflict(message: impl Into<String>) -> Self {
322 Self::HttpError {
323 status: 409,
324 message: message.into(),
325 }
326 }
327
328 /// Create a server error with an arbitrary status code.
329 pub fn server_error(status: u16, message: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected