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

Method protocol

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

Create a protocol error.

(message: impl Into<String>)

Source from the content-addressed store, hash-verified

248
249 /// Create a protocol error.
250 pub fn protocol(message: impl Into<String>) -> Self {
251 Self::ProtocolError {
252 message: message.into(),
253 }
254 }
255
256 /// Create an HTTP error.
257 pub fn http(status: u16, message: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected