Skip to main content

GrpcViewFunctionCallOutputs

GrpcViewFunctionCallOutputs​

struct GrpcViewFunctionCallOutputs

The outputs of a Move view function call.

Exactly one of return_values and execution_error is populated when the read mask includes execution_result: the first if the call returned, the second if it aborted.

init(returnValues:executionError:)​

init(returnValues: [GrpcCommandOutput]?, executionError: GrpcSimulatedExecutionError?)

executionError​

var executionError: GrpcSimulatedExecutionError?

Why the call aborted.

returnValues​

var returnValues: [GrpcCommandOutput]?

The values the function returned.