Factory method that constructs a new Yes
with passed rawFactMessage
, and
rawNegativeFailureMessage
fields.
Factory method that constructs a new Yes
with passed rawFactMessage
, and
rawNegativeFailureMessage
fields. The rawMidSentenceFactMessage
will return the same
string as rawFactMessage
, and the rawMidSentenceComposableFailureMessage
will return the
same string as rawComposableFailureMessage
. All argument fields will have Vector.empty
values.
This is suitable to create Yes with eager error messages that have same mid-sentence messages.
raw failure message to report if a match fails
a Yes
instance
Companion object for the
Yes
case class.