Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ expect_err
Method
expect_err
plugins/lsps-plugin/src/proto/jsonrpc.rs:169–171 ·
view source on GitHub ↗
(self, msg: &str)
Source
from the content-addressed store, hash-verified
167
}
168
169
pub fn expect_err(self, msg: &str) -> RpcError {
170
self.body.expect_err(msg)
171
}
172
}
173
174
// Custom Serialize to match JSON-RPC 2.0 wire format
Callers
3
test_call_typed_remote_error
Function · 0.80
fails_when_channel_capacity_errors
Function · 0.80
fails_when_fund_channel_errors
Function · 0.80
Calls
no outgoing calls
Tested by
1
test_call_typed_remote_error
Function · 0.64