code: def error_handler(self, error):
          
          warnings.warn(
              """
              error_handler is deprecated.
              Use FlaskBuzz.build_error_handler instead
              """,
              warnings.DeprecationWarning,
          )
          return error.jsonify(), error.status_code, error.headers
docs: Provides a flask error handler that is used for PraetorianErrors
          (and derived exceptions).