Yar_Client_Exception::getType

(PECL yar >= 1.0.0)

Yar_Client_Exception::getTypeRetrieve exception's type

Description

public Yar_Client_Exception::getType ( ) : string

Parameters

This function has no parameters.

Return Values

Returns "Yar_Exception_Client".

Examples

Example #1 Yar_Client_Exception::getType() example

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also

  • Yaf_Server_Exception::getType()

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yar-client-exception.gettype.php