BloombergLP::balxml::ErrorInfo::setError

Conditionally assign the specified other object to this object.

Synopsis

Declared in <balxml_errorinfo.h>

void
setError(ErrorInfo const& other);

Description

If the severity of the specified other object is greater than the current value of this->severity(), then assign this object the value of other, otherwise do nothing.

Parameters

NameDescription
othererror information to assign if more severe