(format string, args ...any)
| 474 | } |
| 475 | |
| 476 | func (e *APIError) WithHint(format string, args ...any) *APIError { |
| 477 | e.Hint = formatMessage(format, args) |
| 478 | return e |
| 479 | } |
| 480 | |
| 481 | func (e *APIError) WithLogID(logID string) *APIError { |
| 482 | e.LogID = logID |