Sha256: 4e1931e7028579df8367e6761d8b93cecbfe6f8c0affe8bfb0c11df77f565e10

Contents?: true

Size: 632 Bytes

Versions: 4

Compression:

Stored size: 632 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      module CanHaveSteps
        module Entities
          class Step
            module Exceptions
              class StepHasNoOrganizer < ::ConvenientService::Exception
                def initialize(step:)
                  message = <<~TEXT
                    Step `#{step.printable_service}` has not assigned organizer.

                    Did you forget to set it?
                  TEXT

                  super(message)
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
convenient_service-0.16.0 lib/convenient_service/service/plugins/can_have_steps/entities/step/exceptions.rb
convenient_service-0.15.0 lib/convenient_service/service/plugins/can_have_steps/entities/step/exceptions.rb
convenient_service-0.14.0 lib/convenient_service/service/plugins/can_have_steps/entities/step/exceptions.rb
convenient_service-0.13.0 lib/convenient_service/service/plugins/can_have_steps/entities/step/exceptions.rb