[#node-KernelNotifications-warningSet-0e]
= xref:node.adoc[node]::xref:node/KernelNotifications.adoc[KernelNotifications]::warningSet
:relfileprefix: ../../
:mrdocs:

`warningSet` overloads

== Synopses

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

Notifies that a node warning has been raised&period;


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

[.small]#xref:kernel/Notifications/warningSet.adoc[_» more&period;&period;&period;_]#

Raise a node warning&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
xref:node/KernelNotifications/warningSet-09.adoc[warningSet](
    xref:kernel/Warning.adoc[kernel::Warning] id,
    xref:bilingual_str.adoc[bilingual&lowbar;str] const& message) override;
----

[.small]#xref:node/KernelNotifications/warningSet-09.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *id*
| Identifier of the warning being set&period;
| *message*
| Human&hyphen;readable warning message&period;
|===


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