Sha256: 4f716c1db636b5a637165d924c5ad6c77cdabe7833adf8523897c4d44dfd60ef

Contents?: true

Size: 251 Bytes

Versions: 6

Compression:

Stored size: 251 Bytes

Contents

# frozen_string_literal: true

module Whatsapp
  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/whatsapp/errors/request_error.rb
freshchat_whatsapp-0.1.4 lib/whatsapp/errors/request_error.rb
freshchat_whatsapp-0.1.3 lib/whatsapp/errors/request_error.rb
freshchat_whatsapp-0.1.2 lib/whatsapp/errors/request_error.rb
freshchat_whatsapp-0.1.1 lib/whatsapp/errors/request_error.rb
freshchat_whatsapp-0.1.0 lib/whatsapp/errors/request_error.rb