pig/run_error

Errors returned while running an agent.

Types

Errors from inference, durable session storage, or the agent runtime.

pub type RunError {
  Inference(error: error.AiError)
  Session(error: session_store.SessionError)
  Runtime(message: String)
}

Constructors

  • Inference(error: error.AiError)

    The inference provider failed.

  • Session(error: session_store.SessionError)

    Loading or committing the durable session failed.

  • Runtime(message: String)

    The runtime failed independently of inference or session storage.

Search Document