depression and anxiety during pregnancy

Maggie • 25🌞Mommy to💙Luca 12/31/13💙 Logan 02/14/17💙
I've been really depressed and stressed this pregnancy. I haven't gone a week without a panic attack. It's work, family, finances (hit a rough patch in May because of some other issue and still playing catch up 😞), and friends. I honestly have zero friends. I'm going through a divorce right now  and got pregnant 3 months after we split by a friend of a friend. I am so excited for my baby and I have an almost 3 year old and they're my world. Sadly, my world fell apart in every aspect and I'm lost on how to rebuild. I feel like a failure, alone, worthless, etc. 
Are there any anxiety meds safe during pregnancy? I'm going to call my doctor today to ask. I am in such a rough place and I promise my children are 100000% safe; it's just myself and how I'm going to rebuild who I am to be better for them. 😔😔
The stress on top of being high risk for pre-eclampsia again this pregnancy is taking its toll. I need someone, just anyone to help. 
I just need to add: the baby's father and I are together but it's hard when I'm not over my marriage and have had no time to grieve or cope with the divorce. I was a mess when I found out I was pregnant for the sole reason, my little family go torn apart and I hardly know the father and I don't know if I'll ever be able to love again like I loved my ex 💔 we were together since we were 15 and I just turned 25 on Saturday. A decade of my life was devoted to growing with my ex and almost 3 years as parents and as a family until January when we hit a wall with communication and distance 😢. (Needed to express that part)