Exception.php 539 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

/**
 * 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
{
18 19 20 21 22 23 24
    /**
     * @return string the user-friendly name of this exception
     */
    public function getName()
    {
        return 'MongoDB Exception';
    }
AlexGx committed
25
}