Print all exceptions
puts Module.constants.sort.select {|x| c = eval(x.to_s) c.instance_of? Class and c.ancestors.include? Exception }