setError

open fun setError(value: SigningError): Bitcoin.PreSigningOutput.Builder
/ error code, 0 is ok, other codes will be treated as errors
.TW.Common.Proto.SigningError error = 2;

Return

This builder for chaining.

Parameters

value

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