class Decidim::Verifications::InvalidVerificationRoute

Public Instance Methods

new(route:) click to toggle source
Calls superclass method
# File lib/decidim/verifications/adapter.rb, line 6
      def new(route:)
        msg = <<~MSG
          You specified a direct handler but you're trying to use `#{route}`
          which is only available for multi-step authorization workflows. Change
          your workflow to define an engine with a `#{route}` route.
        MSG

        super(msg)
      end