Sha256: d7a0028495bdc3a082c662d58bc4bd65da4e4323e3b097e61a5bfe6566c3f5ad

Contents?: true

Size: 302 Bytes

Versions: 9

Compression:

Stored size: 302 Bytes

Contents

# frozen_string_literal: true

module Xml
  module Kit
    class DecryptionError < StandardError
      attr_reader :private_keys

      def initialize(private_keys)
        @private_keys = private_keys
        super('Cannot decrypt document with the provided private keys')
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
xml-kit-0.6.0 lib/xml/kit/decryption_error.rb
xml-kit-0.5.0 lib/xml/kit/decryption_error.rb
xml-kit-0.4.0 lib/xml/kit/decryption_error.rb
xml-kit-0.3.1 lib/xml/kit/decryption_error.rb
xml-kit-0.3.0 lib/xml/kit/decryption_error.rb
xml-kit-0.2.0 lib/xml/kit/decryption_error.rb
xml-kit-0.1.14 lib/xml/kit/decryption_error.rb
xml-kit-0.1.13 lib/xml/kit/decryption_error.rb
xml-kit-0.1.12 lib/xml/kit/decryption_error.rb