code: def abort(
      code=HTTPStatus.INTERNAL_SERVER_ERROR, message=None, **kwargs
  ):
      """
      Properly abort the current request.
  
      Raise a `HTTPException` for the given status `code`.
      Attach any keyword arguments to the exception for later processing.
  
      :param int code: The associated HTTP status code
      :param str message: An optional details message
      :param kwargs: Any additional data to pass to the error payload
      :raise HTTPException:
      """
      try:
          flask.abort(code)
      except HTTPException as e:
          if message:
              kwargs["message"] = str(message)
          if kwargs:
              e.data = kwargs
          raise
  
file_path: flask-restplus/flask_restplus/errors.py
imports: from __future__ import unicode_literals
  import flask
  from werkzeug.exceptions import HTTPException
  from ._http import HTTPStatus
label_desc: Use image node_id 1 for calling a global function with example usage: abort(code, message) without return types