def app_errorhandler(self, code):
        def decorator(f):
            self.record(lambda s: s.app.errorhandler(code)(f))
            return f
        return decorator
Mock pause.
dataset/ETHPy150Open zeaphoo/cocopot/cocopot/blueprints.py/Blueprint.app_errorhandler--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/media_player/test_universal.py/MockMediaPlayer.media_pause