re-db icon indicating copy to clipboard operation
re-db copied to clipboard

error handling / propagation

Open mhuebert opened this issue 2 years ago • 0 comments

Proposed: add first-class error handling to re-db.reactive.

  • r/error will return an Exception/Error instance if it exists,
  • a reaction will receive/inherit the error of any of its dependencies,
  • error state must be reactive (trigger recompute) just like any change to a value

mhuebert avatar Jan 18 '23 10:01 mhuebert