rpc error msgs and added message response types