yiisoft/yii — pull request #3349 by RusAlex (2014-05-02 05:35:10+00:00)
Title: add errorCallback available to be passed via clientOptions

Very useful when we have ajax validated form and server returns "403" or other error codes.
Usually when session has been expired.