Skip to content

Error handling

diklimchuk edited this page Jan 26, 2021 · 1 revision

Handling errors inside Store

  • Actor

If rx chain that represents a command execution result will emit onError it will be ignored and logged to nonfatal level. In case some error must be handled it should be mapped to an Event, for example, using Observable.mapEvents.

  • Reducer#reduce, ElmDelegate#render, ElmDelegate#handleEffect

In case an exception ocurred in one of this method, it will be logged with fatal level.

Further reading

Logging and error handling