Hi everyone…
How to write error in yii2. Without any attributes that is related to Model class or ActiveRecord… Normal error based on business logic that are not associated with database tables… In simple without using addError() method… Is there is any other method or class to show users custom error… How to implement it…