getErrorCatalog()

Returns the error catalog (.cat) from the error class.

Synopsis

string getErrorCatalog(errClass err | dyn_errClass err);

Parameters

Parameter Description
err An error class variable or the return value of the function getLastError() or the function getLastException().

If the dyn_errClass parameter is used for the function, then the function returns the error catalog in the last element of the dyn_errClass parameter.

Return value

The function returns the catalog for the error in question.

Error

Missing parameters.

Description

The getLastError() function returns a value that defines an error class consisting of several attributes. The catalog can be retrieved via these attributes.

Example

main()
{
  dyn_errClass err;
  int errCat;
  err = getLastError();
  errCat = getErrorCatalog(err);
  DebugN = (errCat);
}

Assignment

Errors

Availability

CTRL