Sha256: 9cff5229a07a46d6262f868efe72a79db98f35866361ac3cade6a16b383b9c8c

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Suomifi
    module Authentication
      class Error < StandardError; end

      class AuthorizationBoundToOtherUserError < Error; end
      class IdentityBoundToOtherUserError < Error; end

      class ValidationError < Error
        attr_reader :validation_key

        def initialize(msg = nil, validation_key = :invalid_data)
          @validation_key = validation_key
          super(msg)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-suomifi-0.19.0 lib/decidim/suomifi/authentication/errors.rb
decidim-suomifi-0.18.1 lib/decidim/suomifi/authentication/errors.rb