[#common-AmountErrMsg]
= xref:common.adoc[common]::AmountErrMsg
:relfileprefix: ../
:mrdocs:

Build the error message for an invalid amount value&period;

== Synopsis

Declared in `&lt;common&sol;messages&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bilingual_str.adoc[bilingual&lowbar;str]
AmountErrMsg(
    std::string const& optname,
    std::string const& strValue);
----

== Return Value

The bilingual error message&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *optname*
| The option name whose amount is invalid&period;
| *strValue*
| The offending amount string&period;
|===


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