#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}
公共成员函数 |
|
MAXON_METHOD Bool | AddError (const Error &error) |
MAXON_METHOD Bool | AddError (Error &&error) |
MAXON_METHOD Int | GetCount () const |
const MAXON_METHOD Error & | GetError ( Int index) const |
私有成员函数 |
|
MAXON_INTERFACE ( AggregatedErrorInterface , MAXON_REFERENCE_COPY_ON_WRITE , "net.maxon.interface.aggregatederror") |
|
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 .
const MAXON_METHOD Error& GetError | ( | Int | index | ) | const |
Returns the error at the given index.
[in] | index | Index of the error. Index must be >= 0 and < GetCount() . |