Error makes it compatible with the `error` interface.
()
| 43 | |
| 44 | // Error makes it compatible with the `error` interface. |
| 45 | func (e *ApiError) Error() string { |
| 46 | return e.Message |
| 47 | } |
| 48 | |
| 49 | // RawData returns the unformatted error data (could be an internal error, text, etc.) |
| 50 | func (e *ApiError) RawData() any { |
no outgoing calls