Sha256: 2af85edb4a0095ac10ebd07b923a9ab9b1e22b0bf00e9d2aeee30e50e2b1479e

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

module DeepL
  module Exceptions
    class RequestError < Error
      attr_reader :request, :response

      def initialize(request, response)
        @request = request
        @response = response
      end

      def message
        'Unknown error.'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
deepl-rb-2.2.2 lib/deepl/exceptions/request_error.rb