Start main() analysis and add exception and Error enum.