mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-11 13:56:16 +00: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)
|
|
} |