[#kernel-Notifications-fatalError]
= xref:kernel.adoc[kernel]::xref:kernel/Notifications.adoc[Notifications]::fatalError
:relfileprefix: ../../
:mrdocs:

The fatal error notification is sent to notify the user when an error occurs in kernel code that can&apos;t be recovered from&period; After this notification is sent, whatever function triggered the error should also return an error code or raise an exception&period; Applications can choose to handle the fatal error notification by logging the error, or notifying the user, or triggering an early shutdown as a precaution against causing more errors&period;

== Synopsis

Declared in `&lt;kernel&sol;notifications&lowbar;interface&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
fatalError(xref:bilingual_str.adoc[bilingual&lowbar;str] const& message);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *message*
| Human&hyphen;readable description of the fatal error&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
