( cause: unknown, )
| 38 | |
| 39 | // https://trpc.io/docs/client/vanilla/infer-types#infer-trpcclienterror-types |
| 40 | export function isTrpcClientError( |
| 41 | cause: unknown, |
| 42 | ): cause is TRPCClientError<AugcAppRouter | CwaAppRouter> { |
| 43 | return cause instanceof TRPCClientError |
| 44 | } |