Error handling for duplicate isbn