core/Exception.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace luya;

/**
 * LUYA base exception.
 *
 * Exception wrapper for {{yii\base\Exception}}, represents a generic exception for all purposes.
 *
 * @author Basil Suter <basil@nadar.io>
 * @since 1.0.0
 */
class Exception extends \yii\base\Exception
{
    /**
     * @return string The user-friendly name of this exception.
     */
    public function getName()
    {
        return 'LUYA Exception';
    }
}