Using Exception is OK here.
This commit is contained in:
parent
a7d78cae78
commit
655d8305a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue