MCPcopy 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

Calls

no outgoing calls

Tested by 1