lib/api-client/exceptions/generic.rb in api-client-1.2.0 vs lib/api-client/exceptions/generic.rb in api-client-1.3.0

- old
+ new

@@ -1,3 +1,9 @@ +# All other exceptions should extend this one. This exception was made to +# be easy to handle all possible errors on api requests with just one line: +# rescue_from ApiClient::Exceptions::Generic, :with => :generic_error class ApiClient::Exceptions::Generic < StandardError + # Initialize a new exception. + # + # @return [Generic] a new exception. def self.initialize super("An Error Occurred!") end \ No newline at end of file