Skip to main content

halt_from_api

Function halt_from_api 

Source
fn halt_from_api(e: ApiError, sync: RotationSyncState) -> Halt
Expand description

Maps an API error to a halt: abort when the attempt or session is gone, else report Internal.