mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Using Exception is OK here.
This commit is contained in:
committed by
Benoit Marty
parent
a7d78cae78
commit
655d8305a1
+1
-1
@@ -31,6 +31,6 @@ interface MediaPreProcessor {
|
|||||||
compressIfPossible: Boolean
|
compressIfPossible: Boolean
|
||||||
): Result<MediaUploadInfo>
|
): Result<MediaUploadInfo>
|
||||||
|
|
||||||
data class Failure(override val cause: Throwable?) : RuntimeException(cause)
|
data class Failure(override val cause: Throwable?) : Exception(cause)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user