Skip to main content

is_method_not_found_error

Function is_method_not_found_error 

Source
pub fn is_method_not_found_error(err: &TransportError) -> bool
Expand description

Returns true if err is a JSON-RPC method-not-found rejection (code -32601), which is how nodes without the debug namespace reject debug_trace* requests.