tRPC error handling

Anyone have any examples for the above?

If a user inputs data they shouldn't, I get an error but am struggling with doing something meaningful with it.

Just need some example code I can poke around.
Was this page helpful?