class

Molinillo::NoSuchDependencyError

Inherits Molinillo::ResolverError < Exception < Reference < Object

An error caused by searching for a dependency that is completely unknown, i.e. has no versions available whatsoever.

Constructors

new(dependency : String, required_by = [] of S)

Initializes a new error with the given missing dependency. @param [Object] dependency @see {#dependency} @param [Array] required_by @see {#required_by}

Source

Instance methods

dependency

@return [Object] the dependency that could not be found

Source
message

The error message for the missing dependency, including the specifications that had this dependency.

Source
required_by

@return [Array] the specifications that depended upon {#dependency}

Source