client: use JSONRPC_CLIENT_ERROR and provide error code
This allows the application to actually parse the error code from the peer without resorting to any sort of hacks by parsing the string. It seems fine to pass this through anyway, and we have some defines already for common error codes in JsonrpcClientError enumeration.
Loading
Please register or sign in to comment