void context_Error(object sender, EventArgs e)
        {
            var handler = new WebErrorHandler();

            handler.LogError     += OnLogError;
            handler.DisplayError += OnDisplayError;

            handler.HandleError(ErrorHandlingMode);
        }
        void context_Error(object sender, EventArgs e)
        {
            var handler = new WebErrorHandler();

            handler.LogError += OnLogError;
            handler.DisplayError += OnDisplayError;

            handler.HandleError(ErrorHandlingMode);
        }