relocate method

  1. @override
DiskPathTraversalException relocate(
  1. String disk,
  2. String path
)
override

The same error, reported against disk and path.

Drivers throw with the path they were given; Disk calls this so the caller sees its own disk name and path.

Implementation

@override
DiskPathTraversalException relocate(String disk, String path) =>
    DiskPathTraversalException(path, disk: disk);