Module Loadpath.ErrorSource

Locate a library in the load path
Sourcetype t =
  1. | LibUnmappedDir
  2. | LibNotFound
Sourceval raise : Names.DirPath.t -> t -> 'a

Raise regular Rocq errors with default informative message; usually document managers that have more information about the workspace than rocq compile will override this with a better mechanism / message.