- Added custom error handling to RPCClient