parameters: (ret)
docstring: Check the return value of C API call.
  
      This function will raise an exception when an error occurs.
      Wrap every API call with this function.
  
      Parameters
      ----------
      ret : int
          return value from API calls.
docstring_summary: Check the return value of C API call.
docstring_tokens: Check the return value of C API call .
function: def check_call(ret):
      """Check the return value of C API call.
  
      This function will raise an exception when an error occurs.
      Wrap every API call with this function.
  
      Parameters
      ----------
      ret : int
          return value from API calls.
      """
      if ret != 0:
          raise MXNetError(py_str(_LIB.MXGetLastError()))
function_tokens: def check_call ( ret ) : if ret != 0 : raise MXNetError ( py_str ( _LIB . MXGetLastError ( ) ) )