I have my component (extends from BaseObject) added to ‘bootstrap’ array, to get it init early.
This component throws my CustomException that extends from HttpException (which is extended from UserException).
It seems I’m not able to display the error nicely with the errorHandler component.
Isn’t it available at this moment?
Adding the ‘errorHandler’ component to the bootstrap array too, doesn’t have an effect.
If I just extend from Exception, the error is displayed with Yii’s nice representation with call stack, but not with the ErrorAction.
Is there a way to solve this?
Thanks in advance.
Odd thing is, the lifecycle says, the error handler is available before bootstrap():
Why doesn’t he show the graphical output of the error with the error.php view file of the error action?