macro_rules! rpc_err { ($reply:expr, $msg:expr) => { ... }; }
for use in map functions, will reply to the client with an error and return None