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

Function codec_error

atomic-core/src/change/envelope.rs:88–92  ·  view source on GitHub ↗
(reason: impl Into<String>)

Source from the content-addressed store, hash-verified

86pub type EnvelopeResult<T> = std::result::Result<T, SessionEnvelopeError>;
87
88fn codec_error(reason: impl Into<String>) -> SessionEnvelopeError {
89 SessionEnvelopeError {
90 reason: reason.into(),
91 }
92}
93
94// Constants
95

Callers 2

encodeMethod · 0.70
decodeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected