Files
revanced-patcher/src/main/kotlin/app/revanced/patcher/patch/PatchException.kt
2023-11-26 05:57:41 +01:00

13 lines
406 B
Kotlin

package app.revanced.patcher.patch
/**
* An exception thrown when patching.
*
* @param errorMessage The exception message.
* @param cause The corresponding [Throwable].
*/
class PatchException(errorMessage: String?, cause: Throwable?) : Exception(errorMessage, cause) {
constructor(errorMessage: String) : this(errorMessage, null)
constructor(cause: Throwable) : this(cause.message, cause)
}