ErrorHandleProvider { errorHandler in Button(action: { do { try ... } catch { errorHandler(error) } }) { Text("try") } }