exception wrapper for coerce function in TypedChoiceField