Solar and lunar eclipses can send a warning in dreams.
If you watched the day become darker and colder as the sun seemed to disappear behind the moon, the message may be that the rational powers of your conscious mind are being overwhelmed by emotions (typically negative ones), or vice versa if it was a lunar eclipse. Another explanation suggests that in a man’s dream a solar eclipse suggests a dominant woman in his life and in a woman’s dream a lunar eclipse suggests an overbearing male figure. Is there someone in your life eclipsing your personality or putting you in the shade?
[1]