Exception
API reference › yii › base › Exception
11 subclasses
InvalidConfigExceptionNotSupportedExceptionUnknownClassExceptionUnknownPropertyExceptionUserExceptionyii\db\Exceptionyii\log\LogRuntimeExceptionyii\web\HeadersAlreadySentExceptionyii\web\UrlNormalizerRedirectExceptionyii2\extensions\psrbridge\exception\HeadersAlreadySentExceptionyii2\extensions\psrbridge\exception\OutputAlreadySentException
Exception represents a generic exception for all purposes.
For more details and usage information on Exception, see the guide article on handling errors.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
getName() | Exception |
Method details
Section titled “Method details”getName()
Section titled “getName() ”public function getName(): stringReturns
string: The user-friendly name of this exception