Le type sous-jacent Enum et l'objet doivent être du même type ou l'objet doit être un String. Le type passé était 'X'; le type sous-jacent enum était 'Y'.
Click to search this error in Google
English version
Enum underlying type and the object must be same type or object must be a String. Type passed in was 'X'; the enum underlying type was 'Y'.