getErrors() and clearErrors() to see attempts to set invalid values instead of failing silently. #6