Sha256: b7f334e11222449336be8e4303ad8b6c460de88a56a0151d5ce24b2b4a4e76da

Contents?: true

Size: 260 Bytes

Versions: 6

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

module FreshchatWhatsapp
  module Errors
    class RequestError < StandardError
      attr_reader :response

      def initialize(message, response)
        super message

        @response = response
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
freshchat_whatsapp-0.1.5 lib/freshchat_whatsapp/errors/request_error.rb
freshchat_whatsapp-0.1.4 lib/freshchat_whatsapp/errors/request_error.rb
freshchat_whatsapp-0.1.3 lib/freshchat_whatsapp/errors/request_error.rb
freshchat_whatsapp-0.1.2 lib/freshchat_whatsapp/errors/request_error.rb
freshchat_whatsapp-0.1.1 lib/freshchat_whatsapp/errors/request_error.rb
freshchat_whatsapp-0.1.0 lib/freshchat_whatsapp/errors/request_error.rb