busymachines.effects.sync.validated.genericValidationFailure.scala Maven / Gradle / Ivy
package busymachines.effects.sync.validated
import busymachines.core._
/**
*
* @author Lorand Szakacs, [email protected], [email protected]
* @since 26 Feb 2018
*
*/
final case class GenericValidationFailures(
bad: Anomaly,
bads: List[Anomaly] = Nil,
) extends AnomalousFailures(
GenericValidationFailuresID,
s"Validation failed with ${bads.length + 1} anomalies",
bad,
bads,
)
case object GenericValidationFailuresID extends AnomalyID {
override def name = "bmc_v_001"
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy