The Yar_Server_Exception class

はじめに

Thrown on the client side when the RPC request failed on the server. If the remote service method itself threw an exception, its message, code, file, line and class name are carried over, and Yar_Server_Exception::getType returns the class name of the original exception.

クラス概要

Yar_Server_Exception
extends Exception
/* プロパティ */
protected string $_type = "Yar_Exception_Server";
/* 継承したプロパティ */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private Throwablenull $previous = null;
/* メソッド */
public stringint Yar_Server_Exception::getType()
/* 継承したメソッド */
public __construct(string $message = "", int $code = 0, Throwablenull $previous = null)
final public string getMessage()
final public Throwablenull getPrevious()
final public int getCode()
final public string getFile()
final public int getLine()
final public array getTrace()
final public string getTraceAsString()
public string __toString()
private void __clone()

プロパティ

_type
The class name of the exception thrown by the remote service, or "Yar_Exception_Server" if the error was not caused by a userland exception. Read via Yar_Server_Exception::getType.
目次