[#BloombergLP-bdlde-Utf8CheckingInStreamBufWrapper-errorStatus]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Utf8CheckingInStreamBufWrapper.adoc[Utf8CheckingInStreamBufWrapper]::errorStatus
:relfileprefix: ../../../
:mrdocs:

Return the current error status of this object&period;

== Synopsis

Declared in `&lt;bdlde&lowbar;utf8checkinginstreambufwrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
errorStatus() const;
----

== Description

Return the current error mode of this object&period; This will be either 0 (no errors or end of data), `k&lowbar;SEEK&lowbar;FAIL`, which is positive, or a value from `Utf8Util&colon;&colon;ErrorStatus`, which are all negative&period;

== Return Value

0 if no error has occurred, `k&lowbar;SEEK&lowbar;FAIL` on a failed seek, or a `Utf8Util&colon;&colon;ErrorStatus` value on invalid UTF&hyphen;8


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