Error

ErrorGetTries

Return how many times the operation was tried

Syntax

Signature
int         ErrorGetTries( const Error *error );

Return value

The number of attempts, 0 when they are not counted, or 0 if the object is NULL.

Description

When canRetry is T, tries can limit the number of retries.

See also