errs

package
v0.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSessionNotFound      = notFound("session not found")
	ErrModelNotFound        = notFound("model not found")
	ErrToolNotFound         = notFound("tool not found")
	ErrSkillNotFound        = notFound("skill not found")
	ErrRecordNotFound       = notFound("memory record not found")
	ErrKnowledgeNotFound    = notFound("knowledge entry not found")
	ErrEmptyPool            = invalid("llm pool is empty")
	ErrUnsupportedOperation = invalid("operation not supported")
	ErrMaxToolIterations    = invalid("max tool iterations exceeded")
	ErrNotConnected         = invalid("mcp server not connected")
	ErrAgentNotFound        = notFound("agent not found")
	ErrChannelNotFound      = notFound("channel not found")
	ErrTaskNotFound         = notFound("task not found")
	ErrInvalidRequest       = invalid("invalid request")
)

Functions

func AgentNotFound

func AgentNotFound(id string) error

func ChannelNotFound

func ChannelNotFound(id string) error

func IsNotFound

func IsNotFound(err error) bool

func ModelNotFound

func ModelNotFound(id string) error

func SessionNotFound

func SessionNotFound(id string) error

func SkillNotFound

func SkillNotFound(name string) error

func TaskNotFound

func TaskNotFound(id string) error

func ToolNotFound

func ToolNotFound(name string) error

func Wrap

func Wrap(err error, msg string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL