diff --git a/libwasmvm/src/iterator.rs b/libwasmvm/src/iterator.rs
index 4880a82d7..6b1774783 100644
--- a/libwasmvm/src/iterator.rs
+++ b/libwasmvm/src/iterator.rs
@@ -69,7 +69,9 @@ impl GoIter {
let next = match self.vtable.next {
Some(f) => f,
None => {
- let result = Err(BackendError::unknown("iterator vtable not set"));
+ let result = Err(BackendError::unknown(
+ "iterator vtable function 'next' not set",
+ ));
return (result, GasInfo::free());
}
};
@@ -117,11 +119,11 @@ impl GoIter {
}
pub fn next_key(&mut self) -> BackendResult