La clase Yar_Client_Exception

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

Introducción

Clase base de las excepciones lanzadas cuando una petición falla antes, durante o después de alcanzar el servicio remoto: se lanza una subclase u otra según el lugar en el que se haya producido el fallo. El código de la excepción es una de las constantes YAR_ERR_*.

Sinopsis de la clase

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

Tabla de contenidos

add a note

User Contributed Notes

There are no user contributed notes for this page.