ModuleNameResolutionResult

This class was created so that, upon an UnresolvedDependencyException, the ModuleNameResolver could bundle information about the different paths checked for the missing file into the exception itself.

Constructors

Link copied to clipboard
constructor(resolvedModule: ResolvedModuleName)

Construct a new ModuleNameResolutionResult, upon successful resolution, with the resolved module.

Construct a new ModuleNameResolutionResult, upon an unsuccessful resolution, with an UnresolvedDependencyException containing the paths that did not have the missing module.

Properties

Link copied to clipboard

Whether the resolution produced a ResolvedModuleName, rather than an exception.