1
mirror of https://github.com/revanced/revanced-patcher synced 2025-04-08 12:46:37 +02:00

fix: Improve exception message wording

This commit is contained in:
oSumAtrIX 2024-08-03 16:02:39 +02:00
parent 766a73345e
commit bd434ceb33
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

@ -863,7 +863,7 @@ sealed class OptionException(errorMessage: String) : Exception(errorMessage, nul
* *
* @param option The [Option] that requires a value. * @param option The [Option] that requires a value.
*/ */
class ValueRequiredException(option: Option<*>) : OptionException("The option ${option.key} requires a value, but null was passed") class ValueRequiredException(option: Option<*>) : OptionException("The option ${option.key} requires a value, but the value was null")
/** /**
* An exception thrown when a [Option] is not found. * An exception thrown when a [Option] is not found.