In the convertKind
function, consider adding a default case to handle potential errors or unexpected values. This helps ensure that the function can gracefully handle future modifications to the enum. or even if someone passed a wrong kind so it will return a graceful error rather then returning something weird.
Add this check
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.