BloombergLP::bdljsn::JsonUtil::printError

Print a description of error to stream.

Synopsis

Declared in <bdljsn_jsonutil.h>

static
std::ostream&
printError(
    std::ostream& stream,
    std::streambuf* input,
    Error const& error);

Description

Return a reference to stream. See the first printError overload for full contract details.

Return Value

a reference to stream

Parameters

NameDescription
streamstream to receive the error description
inputsource used to locate the error
errorparse error to describe