From b96b19744a46780dce78bc0b6f8d9ee2e30eacbf Mon Sep 17 00:00:00 2001 From: Francois-Guillaume Ribreau Date: Thu, 31 Dec 2015 19:00:48 +0100 Subject: [PATCH] docs(readme) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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