Cicode Programming Reference > Cicode Function Categories > Error Functions Introduction > ErrInfo

ErrInfo

Gets extended error information on the last error that was detected.

Syntax

ErrInfo(Type)

Type:

The type of error information. If type is 0 (zero), function returns the animation number where the error occurred.

Return Value

The error information.

Example

! Get the animation number where the last error occurred
AN = ErrInfo(0);

See Also

Error Functions