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

Method other

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

Create a generic error.

(message: impl Into<String>)

Source from the content-addressed store, hash-verified

290
291 /// Create a generic error.
292 pub fn other(message: impl Into<String>) -> Self {
293 Self::Other(message.into())
294 }
295
296 /// Create an unauthorized (401) error.
297 pub fn unauthorized(message: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected