About

An error is an exceptional conditions that breaks the normal flow

Management

Code

Message

A good error message identifies:

  • the problem,
  • the cause of the error
  • and the solution, if possible

Doc:

Propagation

Error propagation is when an error that occurs in a block of code is propagated to its caller. This is an exception mechanism.

This is easy in a single thread application but really difficult in multi-thread.