]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - plugins/Irc/extlib/phergie/Phergie/Driver/Exception.php
Merge branch 'master' into social-master
[quix0rs-gnu-social.git] / plugins / Irc / extlib / phergie / Phergie / Driver / 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 driver operations.
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_Driver_Exception extends Phergie_Exception
32 {
33     /**
34      * Error indicating that an operation was requested requiring an active
35      * connection before one had been set
36      */
37     const ERR_NO_ACTIVE_CONNECTION = 1;
38
39     /**
40      * Error indicating that an operation was requested requiring an active
41      * connection where one had been set but not initiated
42      */
43     const ERR_NO_INITIATED_CONNECTION = 2;
44
45     /**
46      * Error indicating that an attempt to initiate a connection failed
47      */
48     const ERR_CONNECTION_ATTEMPT_FAILED = 3;
49
50     /**
51      * Error indicating that an attempt to send data via a connection failed
52      */
53     const ERR_CONNECTION_WRITE_FAILED = 4;
54
55     /**
56      * Error indicating that an attempt to read data via a connection failed
57      */
58     const ERR_CONNECTION_READ_FAILED = 5;
59 }