FiberError: Skillnad mellan sidversioner
Hoppa till navigering
Hoppa till sök
Admin (diskussion | bidrag) (Skapade sidan med '=== FiberError === (PHP 8 >= 8.1.0) ==== Introduktion ==== En '''FiberError''' kastas när en ogiltig operation utförs på en Fiber. ==== Klassöversikt ==== <pre> final class FiberError extends Error { →Ärvt från Error: protected string $message = ""; private string $string = ""; protected int $code; protected string $file = ""; protected int $line; private array $trace = []; private ?Throwable $previous = null; →Metoder: public __construct() /* Ärvt f...') |
Admin (diskussion | bidrag) |
||
| Rad 42: | Rad 42: | ||
Orginalhemsidan på Engelska : https://www.php.net/manual/en/class.fibererror.php | Orginalhemsidan på Engelska : https://www.php.net/manual/en/class.fibererror.php | ||
<BR>[[PHP]]<BR>[[Språkreferens]] | <BR>[[PHP]]<BR>[[Språkreferens]] | ||
<BR>[[Fördefinierade Undantag]]<BR> | <BR>[[Fördefinierade Undantag]]<BR> | ||
[[Kategori:Php]] | [[Kategori:Php]] | ||
Nuvarande version från 29 augusti 2024 kl. 08.02
FiberError
(PHP 8 >= 8.1.0)
Introduktion
En FiberError kastas när en ogiltig operation utförs på en Fiber.
Klassöversikt
final class FiberError extends Error {
/* Ärvt från Error */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Metoder */
public __construct()
/* Ärvt från Error */
final public Error::getMessage(): string
final public Error::getPrevious(): ?Throwable
final public Error::getCode(): int
final public Error::getFile(): string
final public Error::getLine(): int
final public Error::getTrace(): array
final public Error::getTraceAsString(): string
public Error::__toString(): string
private Error::__clone(): void
}
Innehållsförteckning
- FiberError::__construct — Konstruktor för att förhindra direkt instansiering
Sidslut
Orginalhemsidan på Engelska : https://www.php.net/manual/en/class.fibererror.php
PHP
Språkreferens
Fördefinierade Undantag
Det här är en maskinöversättning av PHP-manualen till svenska. Om du hittar fel är vi tacksamma om du rapporterar dem via formuläret som finns på
https://www.linux.se/kontaka-linux-se/
Tack till Datorhjälp som har sponsrat Linux.se med webserver.