[#BloombergLP-bdljsn-JsonUtil-printError-078]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonUtil.adoc[JsonUtil]::printError
:relfileprefix: ../../../
:mrdocs:

Print a description of `error` to `stream`&period;

== Synopsis

Declared in `&lt;bdljsn&lowbar;jsonutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
std::ostream&
printError(
    std::ostream& stream,
    std::streambuf* input,
    xref:BloombergLP/bdljsn/Error.adoc[Error] const& error);
----

== Description

Return a reference to `stream`&period; See the first `printError` overload for full contract details&period;

== Return Value

a reference to `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| stream to receive the error description
| *input*
| source used to locate the error
| *error*
| parse error to describe
|===


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