Can you explain exactly what you did and what it says? How did you install TWRP, for example, and precisely which version (it absolutely needs to be compatible with the particular phone model you have)? What is saying that the storage "is not formatted"? Does TWRP work at all? If so, did you try to do anything using it before you got this problem?
This should be fixable, but it's a matter of knowing precisely what state the device is in, which is why I'm asking these questions.
Worst case, as long as you can still get into the bootloader (hboot or fastboot screens) you should be able to recover it, even if that means flashing a stock ROM and then starting again. And the fact that something is giving error messages, rather than the phone just being dead, tells me that the bootloader is intact still
.
One other thing: how did you unlock the bootloader, and is the phone S-On or S-Off? That last question might be relevant if you have to use a stock RUU to recover it.