We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2bdfed commit 0a52bf7Copy full SHA for 0a52bf7
src/lib.rs
@@ -218,7 +218,7 @@ pub fn get_capability(our: &Address, params: &str) -> Option<Capability> {
218
}
219
220
/// get the next message body from the message queue, or propagate the error
221
-pub fn await_next_message_body() -> anyhow::Result<Vec<u8>> {
+pub fn await_next_message_body() -> Result<Vec<u8>, SendError> {
222
match await_message() {
223
Ok(msg) => Ok(msg.body().to_vec()),
224
Err(e) => Err(e.into()),
0 commit comments