MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / from

Method from

crates/opencode-plugin/src/subprocess/client.rs:46–51  ·  view source on GitHub ↗
(e: RpcError)

Source from the content-addressed store, hash-verified

44
45impl From<RpcError> for PluginSubprocessError {
46 fn from(e: RpcError) -> Self {
47 Self::Rpc {
48 code: e.code,
49 message: e.message,
50 }
51 }
52}
53
54// ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected