Sha256: 80dc502ad1865a4cd2b54b56cd8c6772dee92fc769c89ccce3f5f07773b34f3f
Contents?: true
Size: 412 Bytes
Versions: 15
Compression:
Stored size: 412 Bytes
Contents
# 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 end
Version data entries
15 entries across 15 versions & 1 rubygems