Sha256: 29111eb9af57e9ebda050f144e0413acd65040f8c5297cb44d41b74fae8d8a32
Contents?: true
Size: 412 Bytes
Versions: 19
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
19 entries across 19 versions & 1 rubygems