lib/lumberg/exceptions.rb in lumberg-2.0.1 vs lib/lumberg/exceptions.rb in lumberg-3.0.0
- old
+ new
@@ -1,6 +1,8 @@
module Lumberg
# WHM Exception for when an argument is invalid, missing, etc.
class WhmArgumentError < ArgumentError; end
+ # WHM Exception for when a connection fails
+ class WhmConnectionError < ArgumentError; end
# WHM Exception for when a request is performed on an invalid user
class WhmInvalidUser < RuntimeError; end
end