Sha256: 993c29023f0f240b602f26b7b1005485c06e0f24576888731a3987fa44af109f
Contents?: true
Size: 1.09 KB
Versions: 4
Compression:
Stored size: 1.09 KB
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module CanHaveSteps module Entities class Step module Plugins module CanBeResultStep module CanBeExecuted module Exceptions class MethodForStepIsNotDefined < ::ConvenientService::Exception ## # @param service_class [Class] # @param method_name [Symbol] # @return [void] # def initialize(service_class:, method_name:) message = <<~TEXT Service `#{service_class}` tries to use `:#{method_name}` method in a step, but it is NOT defined. Did you forget to define it? TEXT super(message) end end end end end end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems