#include <errorbase.h>
Error that contains multiple errors. This error might be returned if multiple jobs of a group return errors. The GetMessage functions retrieves the combined output of all errors.
@MAXON_ANNOTATION{refclass=false}
Public Member Functions | |
MAXON_METHOD Bool | AddError (const Error &error) |
MAXON_METHOD Bool | AddError (Error &&error) |
MAXON_METHOD Int | GetCount () const |
MAXON_METHOD const Error & | GetError (Int index) const |
Private Member Functions | |
MAXON_INTERFACE (AggregatedErrorInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.interface.aggregatederror", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")) | |
|
private |
MAXON_METHOD Bool AddError | ( | const Error & | error | ) |
Adds an error to this AggregatedError.
[in] | error | AggregatedError to add. |
MAXON_METHOD Bool AddError | ( | Error && | error | ) |
Adds an error to this AggregatedError.
[in] | error | AggregatedError to add. |
MAXON_METHOD Int GetCount | ( | ) | const |
Returns the number of errors in this AggregatedError.
MAXON_METHOD const Error& GetError | ( | Int | index | ) | const |
Returns the error at the given index.
[in] | index | Index of the error. Index must be >= 0 and < GetCount(). |