[#InitError-09]
= InitError
:mrdocs:

`InitError` overloads

== Synopses

Declared in `&lt;node&sol;interface&lowbar;ui&period;h&gt;`

Show error message


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:InitError-0b.adoc[InitError](xref:bilingual_str.adoc[bilingual&lowbar;str] const& str);
----

[.small]#xref:InitError-0b.adoc[_» more&period;&period;&period;_]#

Show error message with additional detail lines&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:InitError-06.adoc[InitError](
    xref:bilingual_str.adoc[bilingual&lowbar;str] const& str,
    std::vector&lt;std::string&gt; const& details);
----

[.small]#xref:InitError-06.adoc[_» more&period;&period;&period;_]#

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| The error message to display&period;
| *details*
| Extra lines of detail shown alongside `str&period;`
|===


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