# \[Discussion\] How to show error states

**URL:** <https://support.delta.chat/t/discussion-how-to-show-error-states/1363>\
**Category:** Uncategorized\
**Created:** [January 8, 2021, 10:42am UTC](https://support.delta.chat/t/discussion-how-to-show-error-states/1363 "2021-01-08T10:42:59Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![r10s](https://support.delta.chat/user_avatar/support.delta.chat/r10s/32/1513_2.png) [@r10s](https://support.delta.chat/u/r10s)\
**Post date:** [January 10, 2021, 10:46am UTC](https://support.delta.chat/t/discussion-how-to-show-error-states/1363/10 "2021-01-10T10:46:18Z")

</div>

> [@Hocuri](#):
>
> Doing:
> 
> ```auto
> if core says "connected": everyting fine, do nothing
> else if there is no network: "Waiting for network..."
> else if core says "error": "! Not connected" (or red exclamation mark, if we go for idea #2)
> else "Connecting..." (or rotating dotted circle, as we have it for pending msgs, if we go for idea #2)
> 
> ```
> 
> sounds pretty straightforward and not too much work for me.

sure.

with “issues on its own” i was thinking more about how core can differ between “connection error” and “not connected now, but probably in a few seconds”. this “no network” is known to be tricky, in flaky situations, this may change several times a second.

however, i would probably be find with more states in the ui, depends a bit what the core can provide reliably with reasonable effort. we will see what we can get actually 🙂

---

_[View the full topic](https://support.delta.chat/t/discussion-how-to-show-error-states/1363)._
