errors

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIError

type APIError struct {
	Provider   string
	StatusCode int
	Message    string
	Endpoint   string
}

APIError represents an error from an LLM API

func (*APIError) Error

func (e *APIError) Error() string

type RequestError

type RequestError struct {
	Operation string
	Err       error
}

RequestError represents an error building or sending a request

func (*RequestError) Error

func (e *RequestError) Error() string

func (*RequestError) Unwrap

func (e *RequestError) Unwrap() error

type SchemaError

type SchemaError struct {
	Field   string
	Message string
}

SchemaError represents a JSON schema validation error

func (*SchemaError) Error

func (e *SchemaError) Error() string

type ValidationError

type ValidationError struct {
	Field   string
	Message string
}

ValidationError represents a validation error

func (*ValidationError) Error

func (e *ValidationError) Error() string

Jump to

Keyboard shortcuts

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