Added `remove_on_fail` error handler

which removes data if checker returned `false`