Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ unwrap_err
Method
unwrap_err
plugins/lsps-plugin/src/proto/jsonrpc.rs:165–167 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
163
}
164
165
pub fn unwrap_err(self) -> RpcError {
166
self.body.unwrap_err()
167
}
168
169
pub fn expect_err(self, msg: &str) -> RpcError {
170
self.body.expect_err(msg)
Callers
15
test_call_enum_remote_error
Function · 0.80
test_error_deserialization
Function · 0.80
decode_rejects_non_canonical_bigsize
Function · 0.80
decode_rejects_out_of_order_types
Function · 0.80
decode_rejects_duplicate_types
Function · 0.80
encode_rejects_duplicate_types
Function · 0.80
decode_truncated_value
Function · 0.80
get_info_rejects_client
Function · 0.80
get_info_handles_api_error
Function · 0.80
buy_rejects_invalid_promise
Function · 0.80
buy_rejects_expired_offer
Function · 0.80
buy_rejects_when_fee_exceeds_payment
Function · 0.80
Calls
no outgoing calls
Tested by
8
test_call_enum_remote_error
Function · 0.64
test_error_deserialization
Function · 0.64
decode_rejects_non_canonical_bigsize
Function · 0.64
decode_rejects_out_of_order_types
Function · 0.64
decode_rejects_duplicate_types
Function · 0.64
encode_rejects_duplicate_types
Function · 0.64
decode_truncated_value
Function · 0.64
test_get_info_rpc_error_handling
Function · 0.64