AmiStatus::setStatus()
Method
Declaration
void setStatus(int errorCode, const char * format, ...);
Purpose
Creates a new AMI error for the specified error code and descriptive text. Descriptive text is specified as a template (printf
format) and substitution arguments. If error creation fails then an error describing this failure is returned in place of the specified error.
Parameters
Parameter |
Description |
|
AMI C error code. |
|
Descriptive template. |