diff options
author | Thom May <thom@may.lt> | 2016-10-07 11:07:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-07 11:07:53 +0100 |
commit | 11387e82938196772ba5d5f45900273c7905d00d (patch) | |
tree | 842cd990c2b22495df793c643bb2560d124243cc | |
parent | 848c80ef56fe3d9ade9e35d0ba93c205eff96924 (diff) | |
parent | 40d76e97f5135f9fd4ca9cb019d6eac7f40f9e2e (diff) | |
download | mixlib-shellout-11387e82938196772ba5d5f45900273c7905d00d.tar.gz |
Merge pull request #116 from docwhat/commonexceptions
Modified all exceptions to have a common parent
-rw-r--r-- | lib/mixlib/shellout/exceptions.rb | 7 |
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 |