parameters: ()
return_statement: return error_types.get(err_type, MXNetError)(py_err_msg)
docstring: Create error object given result of MXGetLastError.
  
      Returns
      -------
      err : object
          The error object based on the err_msg
docstring_summary: Create error object given result of MXGetLastError.
docstring_tokens: Create error object given result of MXGetLastError .
function: def get_last_ffi_error():
      """Create error object given result of MXGetLastError.
  
      Returns
      -------
      err : object
          The error object based on the err_msg
      """
      c_err_msg = py_str(_LIB.MXGetLastError())
      py_err_msg, err_type = c2pyerror(c_err_msg)
      if err_type is not None and err_type.startswith("mxnet.error."):
          err_type = err_type[10:]
      return error_types.get(err_type, MXNetError)(py_err_msg)
function_tokens: def get_last_ffi_error ( ) : c_err_msg = py_str ( _LIB . MXGetLastError ( ) ) py_err_msg , err_type = c2pyerror ( c_err_msg ) if err_type is not None and err_type . startswith ( "mxnet.error." ) : err_type = err_type [ 10 : ] return error_types . get ( err_type , MXNetError ) ( py_err_msg )