What is the mutation error type?
In the provider I want to set onError for all mutations: But I don't know what type is needed for the error, my closest guess is in trpc.ts: but it says that it's missing the following properties from type 'Procedure<"query" | "mutation" | "subscription", any>': _type, _def, _procedure
0 Replies