typed-rpc
typed-rpc copied to clipboard
Custom error interceptor
Hello, thanks for creating & maintaining this library.
It would be nice if we could override the implementation of getErrorCode and getErrorMessage here through an additional argument to rpcHandler or handleRpc.
I can contribute a patch if this is acceptable.