lib/socialcastr/exceptions.rb in socialcastr-0.2.18 vs lib/socialcastr/exceptions.rb in socialcastr-0.2.19

- old
+ new

@@ -1,8 +1,9 @@ module Socialcastr - class InvalidMethod < StandardError; end - class InvalidAttribute < StandardError; end - class ConnectionError < StandardError # :nodoc: + class Error < StandardError; end + class InvalidMethod < Error; end + class InvalidAttribute < Error; end + class ConnectionError < Error # :nodoc: attr_reader :response def initialize(response, message = nil) @response = response @message = message