You are not allowed to perform this action. needs to redirect on a page when get this exeption Yii

Error : You are not allowed to perform this action.
File : C:\xampp\htdocs\sccm\tcl\vendor\mdmsoft\yii2-admin\components\AccessControl.php
Line : 88

getting this error i want to redirect when this error occured.
using rbac for user permission