lib/watch_tower/errors.rb in watch_tower-0.0.1.beta10 vs lib/watch_tower/errors.rb in watch_tower-0.0.1.beta11
- old
+ new
@@ -27,6 +27,13 @@
DatabaseError = Class.new ServerError
DatabaseConfigNotFoundError = Class.new DatabaseError
# Exceptions raised by the Eye module
EyeError = Class.new WatchTowerError
+
+ # Exceptions raised by the Config module
+ ConfigError = Class.new WatchTowerError
+ ConfigNotReadableError = Class.new ConfigError
+ ConfigNotFound = Class.new ConfigError
+ ConfigNotDefinedError = Class.new ConfigError
+ ConfigNotValidError = Class.new ConfigError
end