ThinkingError represents an error that occurred during thinking configuration processing. This error type provides structured information about the error, including: - Code: A machine-readable error code for programmatic handling - Message: A human-readable description of the error - Model: The mod
| 41 | // - Model: The model name related to the error (optional) |
| 42 | // - Details: Additional context information (optional) |
| 43 | type ThinkingError struct { |
| 44 | // Code is the machine-readable error code |
| 45 | Code ErrorCode |
| 46 | // Message is the human-readable error description. |
| 47 | // Should be lowercase, no trailing period, with context if applicable. |
| 48 | Message string |
| 49 | // Model is the model name related to this error (optional) |
| 50 | Model string |
| 51 | // Details contains additional context information (optional) |
| 52 | Details map[string]interface{} |
| 53 | } |
| 54 | |
| 55 | // Error implements the error interface. |
| 56 | // Returns the message directly without code prefix. |
nothing calls this directly
no outgoing calls
no test coverage detected