summaryrefslogtreecommitdiff
path: root/lib/mixlib/shellout/exceptions.rb
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2011-12-01 11:51:25 -0800
committerDaniel DeLeo <dan@opscode.com>2011-12-01 11:51:25 -0800
commit1f7734e92f30c0b6545bcc8b537e920e3f12b6bc (patch)
tree0677cc613ef17454cef35c9ce0ad07f50db28603 /lib/mixlib/shellout/exceptions.rb
downloadmixlib-shellout-1f7734e92f30c0b6545bcc8b537e920e3f12b6bc.tar.gz
Initial extraction of ShellOut from Chef
Diffstat (limited to 'lib/mixlib/shellout/exceptions.rb')
-rw-r--r--lib/mixlib/shellout/exceptions.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/mixlib/shellout/exceptions.rb b/lib/mixlib/shellout/exceptions.rb
new file mode 100644
index 0000000..417def3
--- /dev/null
+++ b/lib/mixlib/shellout/exceptions.rb
@@ -0,0 +1,8 @@
+module Mixlib
+ class ShellOut
+ class ShellCommandFailed < RuntimeError; end
+ class CommandTimeout < RuntimeError; end
+ class InvalidCommandOption < RuntimeError; end
+ end
+end
+