mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-28 05:31:03 +00:00
13 lines
406 B
Kotlin
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)
|
|
}
|