tibasSpaceResult_GetError()

Returns the error associated with a specified SpaceResult, if there is an error.

Declaration

tibas_status tibasSpaceResult_GetError
      (tibasSpaceResult result,
       tibasError       *error)

Parameters

Parameter Description
result The SpaceResult object on which the function is invoked.
error If there is an error, returns a tibasError object.

Remarks

Use the tibasSpaceResult_GetError() function to return an error associated with a specified SpaceResult, if an error condition exists. Before calling tibasSpaceResult_GetError(), call the tibasSpaceResult_HasError() function to determine if there is an error.