I have a number of custom exceptions created for my Django project. like so
errors.py
# General Exceptions
class VersionError(Exception):
    pass
class ParseError(Exception):
    pass
class ConfigError(Exception):
    pass
class InstallError(Exception):
    pass
However I want to print the output from my custom exceptions but not the general. But do not want to list them all out, i.e
try:
   do something wrong
except <custom errors>, exc:
    print exc
except:
    print "Gen
 
     
     
     
     
     
    