MCPcopy 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)

Calls

no outgoing calls