code: def abort(http_status_code, exc=None, **kwargs):
      
      try:
          flask.abort(http_status_code)
      except HTTPException as err:
          err.data = kwargs
          err.exc = exc
          raise err
docs: Raise a HTTPException for the given http_status_code. Attach any keyword
      arguments to the exception for later processing.
  
      From Flask-Restful. See NOTICE file for license information.