expected Not Default
Creates a ValueMismatch
for a command that wanted to clear a value, but discovered that the field already has the default value.
Return
new ValueMismatch
instance
Parameters
expected
the value of the field that the command wanted to clear
Creates a ValueMismatch
for a command that wanted to change a field value, but discovered that the field has the default value.
Return
new ValueMismatch
instance
Parameters
expected
the value expected by the command
new Value
the value the command wanted to set