Function autoendpoint::routers::common::handle_error
source ยท pub async fn handle_error(
error: RouterError,
metrics: &StatsdClient,
db: &dyn DbClient,
platform: &str,
app_id: &str,
uaid: Uuid,
vapid: Option<VapidHeaderWithKey>,
) -> ApiError
Expand description
Handle a bridge error by logging, updating metrics, etc