Narrative:

During initial climbout after flaps selected up we received an EICAS message flap fail. Flaps indicated zero. Completed QRH. Did not deem it safe to return or [divert to] nearby airports due to snow storms and low visibility. Contacted dispatch and discussed continuing. Confirmed the longest runway at [our destination] was closed so we decided to divert for a longer runway. Crew and dispatch agreed on ZZZ. [Advised ATC] and diverted to ZZZ. Had crash fire rescue equipment (crash fire rescue) check our brake temps after landing. Maintenance flap failure [was the cause].

Google
 

Original NASA ASRS Text

Title: EMB-145 flight crew reported a 'Flap Fail' message while retracting the flaps during climbout.

Narrative: During initial climbout after flaps selected up we received an EICAS message FLAP FAIL. Flaps indicated zero. Completed QRH. Did not deem it safe to return or [divert to] nearby airports due to snow storms and low visibility. Contacted dispatch and discussed continuing. Confirmed the longest runway at [our destination] was closed so we decided to divert for a longer runway. Crew and dispatch agreed on ZZZ. [Advised ATC] and diverted to ZZZ. Had CFR (Crash Fire Rescue) check our brake temps after landing. Maintenance flap failure [was the cause].

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.