Grammar - Error (Handling)

About

An error is an exceptional conditions that breaks the normal flow

same as Code - Exception (Try, Catch, Finally statement) ?

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.


Powered by ComboStrap