]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/Irc/extlib/phergie/Phergie/Connection/Exception.php
Revert "Merged in Phergie changes"
[quix0rs-gnu-social.git] / plugins / Irc / extlib / phergie / Phergie / Connection / Exception.php
1 <?php
2 /**
3  * Phergie 
4  *
5  * PHP version 5
6  *
7  * LICENSE
8  *
9  * This source file is subject to the new BSD license that is bundled
10  * with this package in the file LICENSE.
11  * It is also available through the world-wide-web at this URL:
12  * http://phergie.org/license
13  *
14  * @category  Phergie 
15  * @package   Phergie
16  * @author    Phergie Development Team <team@phergie.org>
17  * @copyright 2008-2010 Phergie Development Team (http://phergie.org)
18  * @license   http://phergie.org/license New BSD License
19  * @link      http://pear.phergie.org/package/Phergie
20  */
21
22 /**
23  * Exception related to a connection to an IRC server.
24  *
25  * @category Phergie 
26  * @package  Phergie
27  * @author   Phergie Development Team <team@phergie.org>
28  * @license  http://phergie.org/license New BSD License
29  * @link     http://pear.phergie.org/package/Phergie
30  */
31 class Phergie_Connection_Exception extends Phergie_Exception
32 {
33     /**
34      * Error indicating that an operation was attempted requiring a value 
35      * for a specific configuration setting, but none was set
36      */
37     const ERR_REQUIRED_SETTING_MISSING = 1;
38
39     /**
40      * Error indicating that a connection is configured to use a transport, 
41      * but that transport is not supported by the current PHP installation
42      */
43     const ERR_TRANSPORT_NOT_SUPPORTED = 2;
44 }