(err: unknown)
| 2091 | } |
| 2092 | |
| 2093 | function errorMessage(err: unknown): string { |
| 2094 | return err instanceof Error ? err.message : String(err); |
| 2095 | } |
| 2096 | |
| 2097 | // The SDK has used both `error` and `errorMessage` over its lifetime |
| 2098 | // and sometimes passes the reason through `result`. Pull whichever is |
no outgoing calls
no test coverage detected