mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-11 13:56:16 +00:00
fix: Improve exception message wording
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user