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
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
23 * Exception related to driver operations.
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
31 class Phergie_Driver_Exception extends Phergie_Exception
34 * Error indicating that an operation was requested requiring an active
35 * connection before one had been set
37 const ERR_NO_ACTIVE_CONNECTION = 1;
40 * Error indicating that an operation was requested requiring an active
41 * connection where one had been set but not initiated
43 const ERR_NO_INITIATED_CONNECTION = 2;
46 * Error indicating that an attempt to initiate a connection failed
48 const ERR_CONNECTION_ATTEMPT_FAILED = 3;
51 * Error indicating that an attempt to send data via a connection failed
53 const ERR_CONNECTION_WRITE_FAILED = 4;
56 * Error indicating that an attempt to read data via a connection failed
58 const ERR_CONNECTION_READ_FAILED = 5;