As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
FLAPS FAIL CAS MESSAGE ILLUMINATED AFTER TAKE-OFF. FLAPS AT 15* SETTING. FOLLOWED CHECKLIST AND DIVERTED TO ALTERNATE AIRPORT. LANDING WAS UNEVENTFUL. MAINTENANCE REMOVED THE FLAP HANDLE AND CLEANED OPTICAL SENSOR AND SETTING SWITCHES WITH COMPRESSED AIR, IAW AMM. A SUCCESSFUL OPERATIONAL CHECK FLIGHT WAS PERFORMED. AIRCRAFT WAS RETURNED TO SERVICE.