Class yii\base\UserException

Inheritance yii\base\UserException » yii\base\Exception » Exception
Subclasses yii\base\InvalidRouteException, yii\console\Exception, yii\console\UnknownCommandException, yii\web\BadRequestHttpException, yii\web\ConflictHttpException, yii\web\ForbiddenHttpException, yii\web\GoneHttpException, yii\web\HttpException, yii\web\MethodNotAllowedHttpException, yii\web\NotAcceptableHttpException, yii\web\NotFoundHttpException, yii\web\RangeNotSatisfiableHttpException, yii\web\ServerErrorHttpException, yii\web\TooManyRequestsHttpException, yii\web\UnauthorizedHttpException, yii\web\UnprocessableEntityHttpException, yii\web\UnsupportedMediaTypeHttpException
Available since version 2.0
Source Code https://github.com/yiisoft/yii2/blob/master/framework/base/UserException.php

UserException is the base class for exceptions that are meant to be shown to end users.

Such exceptions are often caused by mistakes of end users.

Public Methods

Method Description Defined By
getName() yii\base\Exception

© 2008–2017 by Yii Software LLC
Licensed under the three clause BSD license.
http://www.yiiframework.com/doc-2.0/yii-base-userexception.html