Sha256: d6416f7a9fca51e1112067cf4db6e4dd30e6bb341fa71f2fb6362e3ba2020a97

Contents?: true

Size: 485 Bytes

Versions: 1

Compression:

Stored size: 485 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Msad
    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

1 entries across 1 versions & 1 rubygems

Version Path
decidim-msad-0.22.0 lib/decidim/msad/authentication/errors.rb