[#BloombergLP-bsls-BslSourceNameParserUtil-errorMessage]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/BslSourceNameParserUtil.adoc[BslSourceNameParserUtil]::errorMessage
:relfileprefix: ../../../
:mrdocs:

Return a static English message for the specified parsing error code&period;

== Synopsis

Declared in `&lt;bsls&lowbar;bslsourcenameparserutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
char const*
errorMessage(int errorCode);
----

== Description

Return a static, brief English error message that describes the specified negative parsing `errorCode`&period; The behavior is undefined unless `errorCode &lt; 0` and was returned by one of the parsing methods (of this utility) that states in its contract to use this method to get the description of an error code&period;

== Return Value

static, brief English message describing `errorCode`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *errorCode*
| negative error code returned by a parsing method
|===


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