Trigger error iff model is valid.