My (very personal) differentiation of pessimism and depression - pessimism is focusing on anticipating potential negatives (what you described) and depression - is where one would get into the endless loop thinking over particular set of negative outcomes. First one can be practical, although tough. Second one is just harmfull, sorta like personal mini-hell. Would not wish it to even my enemies to get in such state ever.