La classe Yar_Client_Exception

(No version information available, might only be in Git)

Introduction

Classe de base des exceptions levées lorsqu'une requête échoue avant, pendant ou après avoir atteint le service distant : une sous-classe est levée en fonction de l'endroit où l'échec s'est produit. Le code de l'exception est l'une des constantes YAR_ERR_*.

Synopsis de la classe

class Yar_Client_Exception extends Exception {
/* Propriétés héritées */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Méthodes */
public function getType(): string
/* Méthodes héritées */
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
}

Sommaire

add a note

User Contributed Notes

There are no user contributed notes for this page.