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

Method error

crates/opencode-session/src/llm.rs:245–247  ·  view source on GitHub ↗

Get the error, if any.

(&self)

Source from the content-addressed store, hash-verified

243
244 /// Get the error, if any.
245 pub fn error(&self) -> Option<&MessageError> {
246 self.error.as_ref()
247 }
248
249 /// Drain all pending patches computed from snapshot diffs.
250 pub fn take_patches(&mut self) -> Vec<SnapshotPatch> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected