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

Method invalid_state

atomic-core/src/record/error.rs:406–410  ·  view source on GitHub ↗

Create a new invalid-state error. # Arguments `message` - Description of the invalid state

(message: impl Into<String>)

Source from the content-addressed store, hash-verified

404 ///
405 /// * `message` - Description of the invalid state
406 pub fn invalid_state(message: impl Into<String>) -> Self {
407 Self::InvalidState {
408 message: message.into(),
409 }
410 }
411
412 /// Create a new internal error.
413 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected