* @link bitcoin:1P5FAZ4QhXCuwYPnLZdk3PJsqePbu1UDDA Donations * @license WTFPL */ class TimeoutException extends LockAcquireException { /** * Creates a new instance of the TimeoutException class. * * @param int $timeout The timeout in seconds. * @return self A timeout has been exceeded exception. */ public static function create(int $timeout): self { return new self(\sprintf('Timeout of %d seconds exceeded.', $timeout)); } }