php8.5
Home/ Manual/ reference / yar/ The Yar_Server_Exception class

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.

Intro

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.

Class synopsis

extends Exception { }

Properties

_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.

Yar-server-exception

Source: reference/yar/yar-server-exception.xml · from the official PHP manual (php/doc-en)