pub fn unwrap_rpc(&self) -> &str {
        match self {
            RpcError::RpcError(err) => err,
            _ => panic!("The RpcError is not an RPC error message, got {:?}", self),
        }
    }
/// Unwrap an RPC error message if one exists, else panic.
Unwrap an RPC error message if one exists, else panic.
Unwrap an RPC error message if one exists else panic .
pub fn unwrap_rpc(&self) -> &str {
        match self {
            RpcError::RpcError(err) => err,
            _ => panic!("The RpcError is not an RPC error message, got {:?}", self),
        }
    }
pub fn unwrap_rpc ( & self ) -> & str { match self { RpcError :: RpcError ( err ) => err , _ => panic ! ( " " self ) , } }
Unwrap an RPC error message if one exists, else panic.
Unwrap an RPC error message if one exists else panic .
&self
&self