Error dissolution with layered recovery strategy #18
Labels
backbone
Regrounding is desired
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
It is highly recommended to propagate faults through a dedicated error pipeline instead of stream output to take advantage of Combine consistency leveraging
try
operators in a throwable manner.Faults should pass over at most three recovery layers before displaying the recovery message in the exception view.
The recovery strategy should involve:
For handler convenience, it should be possible to materialize erroring stream completion to
Result
type.As a bonus point, recovery could involve debugging mode that collects logs with traces on every step.
The above strategy, metaphorically reduced to a battleship game, adopts Abort, Retry, Fail? anti-pattern and assesses the holistic approach of dealing with bugs. Primely reintroduced and documented in SinkEmAll asks for exhaustive exploration.
Please take care and good luck! ^^
The text was updated successfully, but these errors were encountered: