class
Molinillo::VersionConflict(R, S)
- Molinillo::VersionConflict(R, S)
- Molinillo::ResolverError
- Exception
- Reference
- Object
Overview
An error caused by conflicts in version
Included Modules
Defined in:
molinillo/errors.crConstructors
-
.new(conflicts : Hash(String, Molinillo::Resolver::Resolution::Conflict(R, S)), specification_provider : Molinillo::SpecificationProvider(R, S))
Initializes a new error with the given version conflicts.
Instance Method Summary
-
#conflicts : Hash(String, Resolver::Resolution::Conflict(R, S))
@return [{String => Resolution::Conflict}] the conflicts that caused resolution to fail
-
#specification_provider : SpecificationProvider(R, S)
@return [SpecificationProvider] the specification provider used during resolution
Instance methods inherited from module Molinillo::Delegates::SpecificationProvider
allow_missing?(dependency)
allow_missing?,
dependencies_for(specification)
dependencies_for,
name_for(dependency)
name_for,
name_for_explicit_dependency_source
name_for_explicit_dependency_source,
name_for_locking_dependency_source
name_for_locking_dependency_source,
requirement_satisfied_by?(requirement, activated, spec)
requirement_satisfied_by?,
search_for(dependency)
search_for,
sort_dependencies(dependencies, activated, conflicts)
sort_dependencies
Constructor Detail
def self.new(conflicts : Hash(String, Molinillo::Resolver::Resolution::Conflict(R, S)), specification_provider : Molinillo::SpecificationProvider(R, S))
#
Initializes a new error with the given version conflicts. @param [{String => Resolution::Conflict}] conflicts see {#conflicts} @param [SpecificationProvider] specification_provider see {#specification_provider}
Instance Method Detail
def conflicts : Hash(String, Resolver::Resolution::Conflict(R, S))
#
@return [{String => Resolution::Conflict}] the conflicts that caused resolution to fail
def specification_provider : SpecificationProvider(R, S)
#
@return [SpecificationProvider] the specification provider used during resolution