Skip to content

Error Handling

iaktern edited this page Mar 10, 2023 · 2 revisions

There are multiple types of errors:

  • Warning: warning log message
  • Non-critical Error: error log message, no system shutdown, reset to reasonable default or previous value
  • Critical Error: error log message, system shutdown

Errors can occur at many different places. As a developer you should try to foresee and catch them all. For usability it is recommended to not let the system fail or shut down. This should only be an exception.

Try to implement very resilient code, which automatically reconfigures if the system to the previous value or a reasonable default state.

This is the Dev Wiki

Clone this wiki locally