setErrorMsg

A user-defined validation error format message.
May include tokens `{value}`—for the actual value of the field, and `{other}`—for
the expected value. The tokens will be replaced at runtime when the error is constructed.
string error_msg = 3;

Return

This builder for chaining.

Parameters

value

The errorMsg to set.