ClosedGeneratorException クナ゚

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

はじめãĢ

ClosedGeneratorException は 閉じられた Generator から値を取垗しようとした場合ãĢ゚ロãƒŧされぞす。

クナ゚æĻ‚čρ

class ClosedGeneratorException extends Exception {
/* į‰ŋã—ãŸãƒ—ãƒ­ãƒ‘ãƒ†ã‚Ŗ */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* į‰ŋã—ãŸãƒĄã‚Ŋッド */
public function Exception::__construct(string $message = "", int $code = 0, ?Throwable $previous = null)
final public function Exception::getMessage(): string
final public function Exception::getPrevious(): ?Throwable
final public function Exception::getCode(): int
final public function Exception::getFile(): string
final public function Exception::getLine(): int
final public function Exception::getTrace(): array
final public function Exception::getTraceAsString(): string
public function Exception::__toString(): string
private function Exception::__clone(): void
}
īŧ‹add a note

User Contributed Notes

There are no user contributed notes for this page.