diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 28b46198e..0a4f74e4c 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -1,8 +1,8 @@ -class UsageError <RuntimeError; end -class FormulaUnspecifiedError <UsageError; end -class KegUnspecifiedError <UsageError; end +class UsageError < RuntimeError; end +class FormulaUnspecifiedError < UsageError; end +class KegUnspecifiedError < UsageError; end -class MultipleVersionsInstalledError <RuntimeError +class MultipleVersionsInstalledError < RuntimeError attr :name def initialize name @@ -13,7 +13,7 @@ end class NotAKegError < RuntimeError; end -class NoSuchKegError <RuntimeError +class NoSuchKegError < RuntimeError attr :name def initialize name |
