Skip to main content

api_error

Function api_error 

Source
fn api_error(status: u16, retry_after: Option<u64>, body: String) -> VaultError
Expand description

Map a non-2xx response to the error the facade branches on.