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

Name

Description

stream

stream to receive the error description

input

source used to locate the error

error

parse error to describe

Created with MrDocs