From 8206ac61f5ce39c8fba451a3d37ef12c83a3f380 Mon Sep 17 00:00:00 2001 From: Eugene Ha Date: Sun, 16 Apr 2017 23:10:51 +0200 Subject: [PATCH] Entry for new .error_class argument (#25) --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.md b/NEWS.md index d4eee4c..60b7a51 100644 --- a/NEWS.md +++ b/NEWS.md @@ -25,6 +25,10 @@ ### Minor improvements and bug fixes +* `firmly()` gets a new option, `.error_class`, that enables you to customize + the subclass of the error object that is signaled when an input validation + error occurs ([#25](https://github.com/egnha/valaddin/issues/25)). + * If a function happened to have a callable argument named `.fn`, that function would be called upon the passing of checks, instead of the original core function. This bug has been fixed by explicitly referencing the core function