[#btck-KernelNotifications-WarningSetHandler]
= xref:btck.adoc[btck]::xref:btck/KernelNotifications.adoc[KernelNotifications]::WarningSetHandler
:relfileprefix: ../../
:mrdocs:

Called when a warning becomes active&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
WarningSetHandler(
    xref:btck/Warning.adoc[Warning] warning,
    std::string&lowbar;view message);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *warning*
| The warning that was set&period;
| *message*
| A human&hyphen;readable description&period;
|===


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