pub fn internal_rpc_err(msg: impl Into<String>) -> ErrorObject<'static>
Constructs an internal JSON-RPC error.