summaryrefslogtreecommitdiff
path: root/lib/mixlib
diff options
context:
space:
mode:
authorChristian Höltje <docwhat@gerf.org>2016-01-11 10:32:20 -0500
committerChristian Höltje <docwhat@gerf.org>2016-01-11 10:32:20 -0500
commit40d76e97f5135f9fd4ca9cb019d6eac7f40f9e2e (patch)
treeb79b5f80fbf502db0338da26fdcf17698153aab9 /lib/mixlib
parentc16a595ca9282dfe3641861ce252b5a2409d6fe5 (diff)
downloadmixlib-shellout-40d76e97f5135f9fd4ca9cb019d6eac7f40f9e2e.tar.gz
Modified all exceptions to have a common parent
Closes #98
Diffstat (limited to 'lib/mixlib')
-rw-r--r--lib/mixlib/shellout/exceptions.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/mixlib/shellout/exceptions.rb b/lib/mixlib/shellout/exceptions.rb
index 16b1946..af79721 100644
--- a/lib/mixlib/shellout/exceptions.rb
+++ b/lib/mixlib/shellout/exceptions.rb
@@ -1,7 +1,8 @@
module Mixlib
class ShellOut
- class ShellCommandFailed < RuntimeError; end
- class CommandTimeout < RuntimeError; end
- class InvalidCommandOption < RuntimeError; end
+ class Error < RuntimeError; end
+ class ShellCommandFailed < Error; end
+ class CommandTimeout < Error; end
+ class InvalidCommandOption < Error; end
end
end