def default_errorhandler(self, f):
        """Decorator that registers handler of default (Werkzeug) HTTP errors.

        Note that it might override already defined error handlers.

        """
        for http_code in default_exceptions:
            self.error_handler_spec[None][http_code] = f
        return f
Decorator that registers handler of default (Werkzeug) HTTP errors.

        Note that it might override already defined error handlers.