Return a static English message for the specified parsing error code.
Synopsis
Declared in <bsls_bslsourcenameparserutil.h>
static
char const*
errorMessage(int errorCode);
Description
Return a static, brief English error message that describes the specified negative parsing errorCode. The behavior is undefined unless errorCode < 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.
Return Value
static, brief English message describing errorCode
Parameters
Name |
Description |
errorCode |
negative error code returned by a parsing method |
Created with MrDocs