Updating the errors thrown to be specific for the value that it affects.