Sha256: a74db7f7b51c37b5d351a67f3bfb313b3ae76497768bfd7c4d341532468032b0
Contents?: true
Size: 811 Bytes
Versions: 14
Compression:
Stored size: 811 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Core module Entities class Config module Errors class ConfigIsCommitted < ConvenientService::Error ## # @param config [ConvenientService::Core::Entities::Config] # @return [void] # def initialize(config:) message = <<~TEXT Config for `#{config.klass}` is already committed. Only uncommitted configs can be modified. Did you accidentally call `concerns(&configuration_block)` or `middlewares(method, scope: scope, &configuration_block)` after using any plugin, after calling `commit_config!`? TEXT super(message) end end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems