Using Exception is OK here.
This commit is contained in:
committed by
Benoit Marty
parent
1673fe7354
commit
3e166e3d89
@@ -31,6 +31,6 @@ interface MediaPreProcessor {
|
||||
compressIfPossible: Boolean
|
||||
): 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