> For the complete documentation index, see [llms.txt](https://shiva.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shiva.gitbook.io/project/shiva/modules/shiva-error.md).

# shiva::error

## Purpose

This module is a centralized error handler, which handle the **fatal errors** that can happen in shiva, and uses **boost::stacktrace** to store information about a fatal error or crash.

{% hint style="info" %}
The file of the last crash can be found here:`std::filesystem::temp_directory_path() /= "backtrace.dump"`\
\
It is also through this class that is initialized **EnTT**, because it is the first class that is created in the program at the creation of a [shiva::world](/project/shiva/modules/shiva-world.md).
{% endhint %}
