mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-04-30 05:14:26 +02:00
12 lines
405 B
Kotlin
12 lines
405 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)
|
|
} |