[#BloombergLP-bdlde-Utf8CheckingInStreamBufWrapper-toAscii] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Utf8CheckingInStreamBufWrapper.adoc[Utf8CheckingInStreamBufWrapper]::toAscii :relfileprefix: ../../../ :mrdocs: Return a human‐readable description of the specified error status. == Synopsis Declared in `<bdlde_utf8checkinginstreambufwrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char const* toAscii(int errorStatus); ---- == Description Return a description of the specified `errorStatus`. Note that `errorStatus` is either: * `k_SEEK_FAIL` * A value from `Utf8Util::ErrorStatus`, which are all negative, in the case of invalid UTF‐8. * 0 if no errors have occurred, in which case `NO_ERROR` will be returned. Note that this includes the case where end of file has been reached without any error occurring. * If `errorStatus` is an invalid value, "(* unrecognized value *)" will be returned. == Return Value a null‐terminated description of `errorStatus` == Parameters [cols="1,4"] |=== | Name| Description | *errorStatus* | error code to describe (0, `k_SEEK_FAIL`, or a `Utf8Util::ErrorStatus` value) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#