All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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