Skip to content

Error handling

Dmitry Berdnikov edited this page Jan 10, 2025 · 2 revisions

Handling errors inside Store

  • Actor

If Flow that represents a command execution result will emit error 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 Flow.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