setCode

open fun setCode(value: ErrorCode): THORChainSwap.Error.Builder
code of the error
.TW.THORChainSwap.Proto.ErrorCode code = 1;

Return

This builder for chaining.

Parameters

value

The enum numeric value on the wire for code to set.