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/nodes.rb | |
parent | b603c20370c7548739f90f2b92ffa066d59446ab (diff) |
Subclass all errors from OxidizedError
Diffstat (limited to 'lib/oxidized/nodes.rb')
-rw-r--r-- | lib/oxidized/nodes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb index 42c18cb..c70e6fd 100644 --- a/lib/oxidized/nodes.rb +++ b/lib/oxidized/nodes.rb @@ -1,8 +1,8 @@ module Oxidized require 'oxidized/node' require 'ipaddr' - class Oxidized::NotSupported < StandardError; end - class Oxidized::NodeNotFound < StandardError; end + class Oxidized::NotSupported < OxidizedError; end + class Oxidized::NodeNotFound < OxidizedError; end class Nodes < Array attr_accessor :source alias :put :unshift |