relocate method

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