Throw error on write if present