luyadev/luya-module-cms

View on GitHub
src/Exception.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace luya\cms;

/**
 * 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 \luya\Exception
{
    /**
     * @return string the user-friendly name of this exception
     */
    public function getName()
    {
        return 'CMS-Module Exception';
    }
}