Error implements the error interface. Returns the message directly without code prefix. Use Code field for programmatic error handling.
()
| 56 | // Returns the message directly without code prefix. |
| 57 | // Use Code field for programmatic error handling. |
| 58 | func (e *ThinkingError) Error() string { |
| 59 | return e.Message |
| 60 | } |
| 61 | |
| 62 | // NewThinkingError creates a new ThinkingError with the given code and message. |
| 63 | func NewThinkingError(code ErrorCode, message string) *ThinkingError { |
no outgoing calls