[#FatalError]
= FatalError
:mrdocs:

Report an unrecoverable error, flag the validation state as failed, and notify the node to shut down&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
FatalError(
    xref:kernel/Notifications.adoc[kernel::Notifications]& notifications,
    xref:BlockValidationState.adoc[BlockValidationState]& state,
    xref:bilingual_str.adoc[bilingual&lowbar;str] const& message);
----

== Return Value

Always false, so callers can return it directly&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *notifications*
| Sink used to surface the fatal error to the node&period;
| *state*
| Validation state to mark with the fatal error&period;
| *message*
| Human&hyphen;readable, translatable description of the error&period;
|===


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