Reference

std/path/error

std/path/src/error.trb

PathError, what Path.resolved refuses and why.

type PathError

type PathError with Show, Error

What a path operation refuses. Path has only one member that can fail - Path.resolved - and these are the two things it refuses.

Related

case Outside

case Outside(path: Path, base: Path)

Path.resolved would have left base.

case NoBase

case NoBase(base: Path)

Path.resolved was given a base that has no root, so "inside" has nothing to be measured against.

fn show

fn show(): String

What went wrong, in one line.