pub fn is_method_not_found_error(err: &TransportError) -> bool
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.
true
err
debug
debug_trace*