Content-Length: 44931 | pFad | https://www.php.net/manual/en/class.closedgeneratorexception.php

PHP: ClosedGeneratorException - Manual
PHP 8.4.3 Released!

The ClosedGeneratorException class

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

Introduction

A ClosedGeneratorException is thrown when trying to retrieve a value from a closed Generator.

Class synopsis

class ClosedGeneratorException extends Exception {
/* Inherited properties */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Inherited methods */
public Exception::__construct(string $message = "", int $code = 0, ?Throwable $previous = null)
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
}
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://www.php.net/manual/en/class.closedgeneratorexception.php

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy