[Hackage] #510: Don't call exitWithFailure on parse error, instead return error or throw exception