MCPcopy Create free account
hub / github.com/dariubs/goAI / Error

Struct Error

errors.go:9–14  ·  view source on GitHub ↗

Error represents an error from an LLM provider

Source from the content-addressed store, hash-verified

7
8// Error represents an error from an LLM provider
9type Error struct {
10 Provider string // Provider name
11 StatusCode int // HTTP status code (if applicable)
12 Message string // Error message
13 Err error // Underlying error
14}
15
16// Error implements the error interface
17func (e *Error) Error() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected