mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-17 08:52:30 +01:00
Clarify error message
This commit is contained in:
@@ -26,7 +26,7 @@ macro_rules! client_stubs {
|
||||
if let __Reply::$fn_name(reply) = reply {
|
||||
Ok(reply)
|
||||
} else {
|
||||
panic!("Unexpected reply to {}: {:?}", stringify!($fn_name), reply);
|
||||
panic!("Incorrect reply variant returned from protocol::Clientrpc; expected `{}`, but got {:?}", stringify!($fn_name), reply);
|
||||
}
|
||||
}
|
||||
)*);
|
||||
|
||||
Reference in New Issue
Block a user