pub fn rpc_error_with_code(
code: i32,
msg: impl Into<String>,
) -> ErrorObject<'static>Expand description
Constructs an internal JSON-RPC error with code and message
pub fn rpc_error_with_code(
code: i32,
msg: impl Into<String>,
) -> ErrorObject<'static>Constructs an internal JSON-RPC error with code and message