8 lines
298 B
Kotlin
8 lines
298 B
Kotlin
|
package eu.depau.etchdroid.exceptions
|
||
|
|
||
|
import eu.depau.etchdroid.kotlin_exts.toHRSize
|
||
|
import java.io.IOException
|
||
|
|
||
|
class UsbWriteException(offset: Long, writtenBytes: Long, exc: Exception) : IOException(
|
||
|
"Write failed at block $offset, ${writtenBytes.toHRSize()} written. Error: $exc", exc
|
||
|
)
|