Error represents an error from an LLM provider
| 7 | |
| 8 | // Error represents an error from an LLM provider |
| 9 | type 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 |
| 17 | func (e *Error) Error() string { |
nothing calls this directly
no outgoing calls
no test coverage detected