# Improving handling of aborted callbacks

**URL:** https://community.plotly.com/t/improving-handling-of-aborted-callbacks/7536
**Category:** Dash Python
**Created:** [January 3, 2018, 12:04pm UTC](https://community.plotly.com/t/improving-handling-of-aborted-callbacks/7536 "2018-01-03T12:04:52Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![chriddyp](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chriddyp/32/16855_2.png) [@chriddyp](https://community.plotly.com/u/chriddyp)
#### Post date: [January 3, 2018, 5:59pm UTC](https://community.plotly.com/t/improving-handling-of-aborted-callbacks/7536/2 "2018-01-03T17:59:53Z")

</div>

Great idea! I like this solution a lot.

What should the API be?

```auto
from dash import Abort
from dash.exceptions import Abort
from dash import Halt
from dash.exceptions import Halt
from dash import PreventUpdate
from dash.exceptions import PreventUpdate

```

? Any other ideas?

I think I prefer `from dash.exceptions import PreventUpdate`.

I’d happily accept a PR that does this 👍

---

_[View the full topic](https://community.plotly.com/t/improving-handling-of-aborted-callbacks/7536)._
