You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our error ADT (LoaderError) is bloated without a reason at this point. We should take into account that different kinds of errors must at least bear different kinds of actions/handling. Currently all errors just short-circuit the execution and can be considered fatal. In future we might want to consider certain errors as non-fatal and retry on them (all connection failures), so can be down to:
ConnectionError - when caught intialises a sequence of retries
Our error ADT (
LoaderError
) is bloated without a reason at this point. We should take into account that different kinds of errors must at least bear different kinds of actions/handling. Currently all errors just short-circuit the execution and can be considered fatal. In future we might want to consider certain errors as non-fatal and retry on them (all connection failures), so can be down to:ConnectionError
- when caught intialises a sequence of retriesFatalError
- discovery errors, unhandled runtime errors, migration errors etcExisting
ConfigError
also must be out of the ADT as it's not involved in the main flow.The text was updated successfully, but these errors were encountered: