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

coursier.error.FetchError.scala Maven / Gradle / Ivy

The newest version!
package coursier.error

import coursier.cache.ArtifactError
import coursier.core.Artifact

sealed abstract class FetchError(message: String, cause: Throwable = null) extends CoursierError(message, cause)

object FetchError {

  final class DownloadingArtifacts(val errors: Seq[(Artifact, ArtifactError)]) extends FetchError(
    "Error fetching artifacts:\n" +
      errors.map { case (a, e) => s"${a.url}: ${e.describe}\n" }.mkString
  )

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy