Function common_helpers::rpc::map_rpc_result
source · pub fn map_rpc_result<T>(response: Result<T, ApiError>) -> RpcResult<T>
Expand description
Converts CoreResult to Result for RPC calls
pub fn map_rpc_result<T>(response: Result<T, ApiError>) -> RpcResult<T>
Converts CoreResult to Result for RPC calls