README

colmugx/posoco/error does not have a README file

#
AgentError

pub(all) suberror AgentError {
Model(String)
Session(SessionError)
Runtime(RuntimeError)
ToolLoopExceeded(consumed~ : Int, limit~ : Int)
HookAborted(String)
} derive(
Debug
)

impl Show for AgentError

#
CommandError

pub(all) suberror CommandError {
NotFound(String)
InvalidArgs(reason~ : String)
ExecutionFailed(String)
} derive(
Debug
)

Errors raised by CommandPort.invoke: unknown command id, invalid args, or execution failure.

#
CompositionError

pub(all) suberror CompositionError {
ToolCollision(String, String, manifests~ : Array[String])
CommandCollision(String, manifests~ : Array[String])
MissingModel
MultipleModels(manifests~ : Array[String])
EmptyManifests
ManifestSchemaError(manifest_id~ : String, detail~ : String)
EmptyPort(String)
} derive(
Debug
)

Composition errors raised during Agent::new (manifest aggregation failures).

Every variant that involves a specific extension carries manifest_id so callers can locate the offending extension without guessing. Multi-party collisions carry the list of involved manifest ids.

#
MemoryError

pub(all) suberror MemoryError {
Store(String)
Search(String)
Delete(String)
} derive(
Debug
)

impl Show for MemoryError

#
ModelError

pub(all) suberror ModelError {
RequestBuild(String)
Transport(String)
ResponseParse(String)
} derive(
Debug
)

impl Show for ModelError

#
RuntimeError

pub(all) suberror RuntimeError {
UnknownTool(String)
InvocationFailed(String)
Transport(String)
ToolAlreadyRegistered(String)
} derive(
Debug
)

#
SessionError

pub(all) suberror SessionError {
Load(String)
Save(String)
} derive(
Debug
)

#
UiError

pub(all) suberror UiError {
Unsupported(detail~ : String)
Cancelled
InvalidRequest(detail~ : String)
IoFailure(detail~ : String)
} derive(
Debug
)

Errors raised by UiPort implementations. UiPort::request MUST raise one of these typed variants instead of an untyped error, so that callers can distinguish "user cancelled" from "this UI doesn't support requests".
impl Show for UiError

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io