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

Calls

no outgoing calls