Versions in this module Expand all Collapse all v0 v0.1.0 Aug 2, 2026 Changes in this version + func Succeeded(status int) bool + type Class string + const ClassAuth + const ClassIndeterminate + const ClassSelfCorrectable + const ClassTransient + type Code string + const CodeInvalidRequest + const CodeNotFound + const CodeRateLimited + const CodeSchemaInvalid + const CodeTimeout + const CodeUnauthorized + const CodeUnavailable + const CodeUnknown + func Codes() []Code + func (c Code) Class() Class + func (c Code) Meta() Meta + func (c Code) Retryable() bool + func (c Code) String() string + type Meta struct + AgentAction string + Class Class + Code Code + Retryable bool + Summary string + type Outcome struct + Class Class + Code Code + LLMHint string + OK bool + RetryAfter time.Duration + Retryable bool + Status int + func Classify(status int, body string, err error) Outcome + func FromError(err error) Outcome + func FromResponse(resp *http.Response) Outcome + func FromStatus(status int, body string) Outcome + func SchemaInvalid(problems ...string) Outcome + func (o Outcome) Failed() bool + func (o Outcome) MarshalJSON() ([]byte, error) + func (o Outcome) String() string