Exception: Decidim::Verifications::MissingEngine

Inherits:
StandardError
  • Object
show all
Defined in:
lib/decidim/verifications/adapter.rb

Instance Method Summary collapse

Instance Method Details

#new(handler:, engine:) ⇒ Object



30
31
32
33
34
35
36
37
# File 'lib/decidim/verifications/adapter.rb', line 30

def new(handler:, engine:)
  msg = <<~MSG
    The authorization handler `#{handler}` does not define the `#{engine}`
    engine. Please define the engine in the workflow configuration.
  MSG

  super(msg)
end