aboutsummaryrefslogtreecommitdiff
path: root/src/table/table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/table/table.rs')
-rw-r--r--src/table/table.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/table.rs b/src/table/table.rs
index 396888c1..01789c11 100644
--- a/src/table/table.rs
+++ b/src/table/table.rs
@@ -311,7 +311,7 @@ where
self.data.update_many(pairs)?;
Ok(TableRpc::Ok)
}
- _ => Err(Error::BadRpc("Unexpected table RPC".to_string())),
+ m => Err(Error::unexpected_rpc_message(m)),
}
}
}