Grammar - Error (Handling)

1 - About

An error is an exceptional conditions that breaks the normal flow

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

3 - Management

3.1 - Code

  • For a process: Error code
  • For an block: Code - Exception (Try, Catch, Finally statement)

3.2 - Message

A good error message identifies:

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

Doc:

3.3 - 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.


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap