MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / agent

Method agent

core/src/errors.rs:176–181  ·  view source on GitHub ↗

Create a new agent error

(agent_id: impl Into<String>, message: impl Into<String>)

Source from the content-addressed store, hash-verified

174
175 /// Create a new agent error
176 pub fn agent(agent_id: impl Into<String>, message: impl Into<String>) -> Self {
177 Self::Agent {
178 agent_id: agent_id.into(),
179 message: message.into(),
180 }
181 }
182
183 /// Create a new agent not found error
184 pub fn agent_not_found(agent_id: impl Into<String>) -> Self {

Calls

no outgoing calls