relocate method

  1. @override
DiskFileNotFoundException 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
DiskFileNotFoundException relocate(String disk, String path) =>
    DiskFileNotFoundException(path, disk: disk);