error

Error message from an interaction.


public final ErrorEvent.Builder error(JsonField<ErrorEvent.Error> error)

Sets Builder.error to an arbitrary JSON value.

You should usually call Builder.error with a well-typed Error value instead. This method is primarily for setting the field to an undocumented or not yet supported value.