(err: unknown)
| 35 | // Non-2xx and transport failures already arrive as BaseError (from the fetch wrapper / transport) |
| 36 | // and re-throw unchanged; the only residual is a 2xx body oRPC failed to decode. |
| 37 | function mapOrpcError(err: unknown): never { |
| 38 | if (isBaseError(err)) |
| 39 | throw err |
| 40 | throw unknownError(err instanceof Error ? err.message : String(err), err) |
| 41 | } |
nothing calls this directly
no test coverage detected