Skip to main content

read_graph_error_code

Function read_graph_error_code 

Source
async fn read_graph_error_code(response: Response) -> Option<String>
Expand description

Read Graph’s error.code from an error body. A code that fails ^[A-Za-z0-9_]{1,64}$ counts as absent, to prevent log injection from attacker-influenced responses.