Raise error when calling while validations fail.