relocate method
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);