Important try-catch-throw logic to allow player to recover from errors.