Call ErrorHandler on window