relocate method

DiskException relocate(
  1. String disk,
  2. String path
)

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

DiskException relocate(String disk, String path) =>
    DiskException(message, disk: disk, path: path, cause: cause);