diff options
-rw-r--r-- | config.vala | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/config.vala b/config.vala index 4b28296..6a3f647 100644 --- a/config.vala +++ b/config.vala @@ -26,7 +26,7 @@ public class Config : KeyFile { var plugin = new PluginLoader<MotorController>(path); if(!plugin.load()) - throw new KeyFileError.INVALID_VALUE("Could not load Plugin"); + throw new KeyFileError.INVALID_VALUE("Could not load Engine Plugin"); var result = plugin.new_object(); result.init(this); @@ -39,7 +39,7 @@ public class Config : KeyFile { string path = Path.build_path("/", Environment.get_variable("PWD"), "sensors", "gyroscope", "%s.so".printf(name)); var plugin = new PluginLoader<Gyroscope>(path); if(!plugin.load()) - throw new KeyFileError.INVALID_VALUE("Could not load Plugin"); + throw new KeyFileError.INVALID_VALUE("Could not load Gyroscope Plugin"); var result = plugin.new_object(); result.init(this); @@ -52,7 +52,7 @@ public class Config : KeyFile { string path = Path.build_path("/", Environment.get_variable("PWD"), "sensors", "barometer", "%s.so".printf(name)); var plugin = new PluginLoader<Barometer>(path); if(!plugin.load()) - throw new KeyFileError.INVALID_VALUE("Could not load Plugin"); + throw new KeyFileError.INVALID_VALUE("Could not load Barometer Plugin"); var result = plugin.new_object(); result.init(this); @@ -65,7 +65,7 @@ public class Config : KeyFile { string path = Path.build_path("/", Environment.get_variable("PWD"), "sensors", "accelerometer", "%s.so".printf(name)); var plugin = new PluginLoader<Accelerometer>(path); if(!plugin.load()) - throw new KeyFileError.INVALID_VALUE("Could not load Plugin"); + throw new KeyFileError.INVALID_VALUE("Could not load Accelerometer Plugin"); var result = plugin.new_object(); result.init(this); @@ -78,7 +78,7 @@ public class Config : KeyFile { string path = Path.build_path("/", Environment.get_variable("PWD"), "sensors", "compass", "%s.so".printf(name)); var plugin = new PluginLoader<Compass>(path); if(!plugin.load()) - throw new KeyFileError.INVALID_VALUE("Could not load Plugin"); + throw new KeyFileError.INVALID_VALUE("Could not load Compass Plugin"); var result = plugin.new_object(); result.init(this); @@ -91,7 +91,7 @@ public class Config : KeyFile { string path = Path.build_path("/", Environment.get_variable("PWD"), "ctrl", "models", "%s.so".printf(name)); var plugin = new PluginLoader<CopterModel>(path); if(!plugin.load()) - throw new KeyFileError.INVALID_VALUE("Could not load Plugin"); + throw new KeyFileError.INVALID_VALUE("Could not load CopterModel Plugin"); var result = plugin.new_object(); result.init(this); @@ -104,7 +104,7 @@ public class Config : KeyFile { string path = Path.build_path("/", Environment.get_variable("PWD"), "receiver", "%s.so".printf(name)); var plugin = new PluginLoader<Receiver>(path); if(!plugin.load()) - throw new KeyFileError.INVALID_VALUE("Could not load Plugin"); + throw new KeyFileError.INVALID_VALUE("Could not load Receiver Plugin"); var result = plugin.new_object(); result.init(this); |