Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ expect
Method
expect
plugins/lsps-plugin/src/proto/jsonrpc.rs:161–163 ·
view source on GitHub ↗
(self, msg: &str)
Source
from the content-addressed store, hash-verified
159
}
160
161
pub fn expect(self, msg: &str) -> R {
162
self.body.expect(msg)
163
}
164
165
pub fn unwrap_err(self) -> RpcError {
166
self.body.unwrap_err()
Callers
10
test_encode_decode_frame_roundtrip
Function · 0.80
test_msat_serialization
Function · 0.80
test_msat_deserialization_and_errors
Function · 0.80
dispatches_to_registered_handler_and_returns_success
Function · 0.80
unknown_method_returns_method_not_found
Function · 0.80
invalid_json_returns_parse_error_with_null_id
Function · 0.80
wrong_jsonrpc_version_returns_invalid_request
Function · 0.80
bad_params_return_invalid_params_error
Function · 0.80
create_peer_id
Function · 0.80
params_with_promise
Function · 0.80
Calls
no outgoing calls
Tested by
3
test_encode_decode_frame_roundtrip
Function · 0.64
test_msat_serialization
Function · 0.64
test_msat_deserialization_and_errors
Function · 0.64