Hello! I want to display bootstrap alert, but not always with ‘danger’ class.
I am wondering is there possibility to set different views for handled exceptions in easy way? Or I should extend Exception class, add property $type, method getType() and override constructor for eg. NotFoundHttpException?