Throw error when the property does not exist