blobstore.url.exception.MultipleUrlValidationException.scala Maven / Gradle / Ivy
package blobstore.url.exception
import cats.data.NonEmptyChain
import cats.syntax.all.*
case class MultipleUrlValidationException(errors: NonEmptyChain[UrlParseError])
extends Exception(
errors.map(_.error).toList.mkString("Multiple validation errors: ", "\n", ""),
errors.reduce.cause.orNull
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy