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

Name

Description

other

error information to assign if more severe

Created with MrDocs