Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250706) (a6b17d8f6bd)
|
Public Member Functions | |
__construct ( $message, $code=0, ?Exception $previous=null, ?array $retryMap=null) | |
Creates a new IO exception with an optional retry map. | |
allowedRetries () | |
Gets the number of times the associated task can be retried. | |
Google_IO_Exception::__construct | ( | $message, | |
$code = 0, | |||
?Exception | $previous = null, | ||
?array | $retryMap = null ) |
Creates a new IO exception with an optional retry map.
string | $message | |
int | $code | |
Exception | null | $previous | |
array | null | $retryMap | Map of errors with retry counts. |
Google_IO_Exception::allowedRetries | ( | ) |
Gets the number of times the associated task can be retried.
NOTE: -1 is returned if the task can be retried indefinitely
integer |
Implements Google_Task_Retryable.