diff --git a/README.md b/README.md index 9e4af0d..9bbdf17 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ fact(10); // 3628800

-Note that `when()` is a catch-all pattern and should always be the last condition. If you forget it `match()` will throw a `MissingCatchAllPattern` exception. +Note that `when()` is a catch-all pattern and should always be the last condition. If you forget it `match()` will throw a `MissingCatchAllPattern` exception. This behavior will be removed in the next major release and be replaced by [throwing an error if nothing was matched](https://github.com/FGRibreau/match-when/issues/10). ##### Setup