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

Method new

atomic-core/src/operation/mod.rs:35–39  ·  view source on GitHub ↗
(message: impl Into<String>)

Source from the content-addressed store, hash-verified

33
34impl OperationCodecError {
35 pub(crate) fn new(message: impl Into<String>) -> Self {
36 Self {
37 message: message.into(),
38 }
39 }
40
41 /// Diagnostic describing the rejected canonical data.
42 pub fn message(&self) -> &str {

Callers

nothing calls this directly

Calls 6

encode_operation_payloadFunction · 0.85
canonicalizeMethod · 0.80
lenMethod · 0.45
validateMethod · 0.45

Tested by

no test coverage detected