diff options
author | Saku Ytti <saku@ytti.fi> | 2014-04-13 10:48:50 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-04-13 10:48:50 +0300 |
commit | bbb17bce9d207f10772abe2c7832afd52a61c125 (patch) | |
tree | 2a973ccb38d4bbc67829374d3d228f13ae2e9e9a /lib/oxidized/node.rb | |
parent | b603c20370c7548739f90f2b92ffa066d59446ab (diff) |
Subclass all errors from OxidizedError
Diffstat (limited to 'lib/oxidized/node.rb')
-rw-r--r-- | lib/oxidized/node.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/node.rb b/lib/oxidized/node.rb index 5a8eb36..0cb5cb3 100644 --- a/lib/oxidized/node.rb +++ b/lib/oxidized/node.rb @@ -1,7 +1,7 @@ module Oxidized require 'resolv' - class MethodNotFound < StandardError; end - class ModelNotFound < StandardError; end + class MethodNotFound < OxidizedError; end + class ModelNotFound < OxidizedError; end class Node attr_reader :name, :ip, :model, :input, :output, :group, :auth, :prompt attr_accessor :last, :running, :user, :msg, :from |