Skip to main content

GrpcViewFunctionCallResult

data class GrpcViewFunctionCallResult(var outputs: GrpcViewFunctionCallOutputs?, var error: String?) : Disposable

The result of a single call in a batch of Move view function calls: either the outputs of the call or the error the node returned for it.

Constructors​

GrpcViewFunctionCallResultconstructor(outputs: GrpcViewFunctionCallOutputs?, error: String?)

Properties​

NameSummary
errorvar error: String?
The error message, if the node refused to run the call.
outputsvar outputs: GrpcViewFunctionCallOutputs?
The outputs of the call, if the node ran it. A call that ran and aborted still has outputs, with the abort in execution_error.

Functions​

NameSummary
destroyopen override fun destroy()