lib/autoproj/base.rb in autoproj-1.13.7 vs lib/autoproj/base.rb in autoproj-2.0.0.b1
- old
+ new
@@ -5,18 +5,9 @@
Psych::SyntaxError
else
ArgumentError
end
- class ConfigError < RuntimeError
- attr_accessor :file
- def initialize(file = nil)
- super
- @file = file
- end
- end
- class InternalError < RuntimeError; end
-
# Yields, and if the given block raises a ConfigError with no file assigned,
# add that file to both the object and the exception message
def self.in_file(file, exception_t = ConfigError)
yield