Create proper exceptions from form errors