Sha256: 1b5d6f8b64f250959c57412aa292635b226fb4d27839ec809f07fe087d319a43

Contents?: true

Size: 368 Bytes

Versions: 4

Compression:

Stored size: 368 Bytes

Contents

# Copyright 2024 DeepL SE (https://www.deepl.com)
# Use of this source code is governed by an MIT
# license that can be found in the LICENSE file.
# frozen_string_literal: true

module DeepL
  module Exceptions
    class DocumentTranslationError < Error
      def initialize(message, handle)
        super(message)
        @handle = handle
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
deepl-rb-3.1.0 lib/deepl/exceptions/document_translation_error.rb
deepl-rb-3.0.2 lib/deepl/exceptions/document_translation_error.rb
deepl-rb-3.0.1 lib/deepl/exceptions/document_translation_error.rb
deepl-rb-3.0.0 lib/deepl/exceptions/document_translation_error.rb