# 06-Errorhandling_Fatalerr

> This sample demonstrates how to trap a fatal error. The error handler is triggered by performing an illegal operation in a `READ_ONLY` transaction.

### How to Run

> See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the `\target\bin` directory:

>         06_errorhandling_fatalerr

> But it is more instructive to run it in your development environment debugger, stepping through the code.

> Related Topics