Skip to content

Commit

Permalink
fix: Improve exception message wording
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Aug 3, 2024
1 parent 766a733 commit bd434ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/app/revanced/patcher/patch/Option.kt
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ sealed class OptionException(errorMessage: String) : Exception(errorMessage, nul
*
* @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.
Expand Down

0 comments on commit bd434ce

Please sign in to comment.