Sha256: c7a47804d2cb3a020de67e5295b8fb81ff4a2b3215803806096f21b145b69139

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

module Whats
  module Errors
    class RequestError < StandardError
      attr_reader :response

      def initialize(message, response)
        @response = response

        super message
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whatsapp-0.1.1 lib/whats/errors/request_error.rb
whatsapp-0.1.0 lib/whats/errors/request_error.rb