Skip to content

errors

Documentation / @wtf/project-resolve / errors

What @wtf/project-resolve throws, each a ResolveError with a stable code to match on in place of its message: WorkspaceError, a file of a workspace that says no workspace, and UnreadableWorkspaceError, the file that defines one, which is there and cannot be read. The hook of ./register throws none of its own: an import it cannot resolve fails with Node’s own error. It depends on nothing, so its base is its own.

Classes