Exception.php 514 Bytes
Newer Older
Paul Klimov committed
1 2 3 4 5 6 7
<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

8
namespace yii\mongodb;
Paul Klimov committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22

/**
 * Exception represents an exception that is caused by some Mongo-related operations.
 *
 * @author Paul Klimov <klimov.paul@gmail.com>
 * @since 2.0
 */
class Exception extends \yii\base\Exception
{
	/**
	 * @return string the user-friendly name of this exception
	 */
	public function getName()
	{
23
		return 'MongoDB Exception';
Paul Klimov committed
24 25
	}
}