Adds error handling for cloudants custom error when database does not exist.