Sha256: 5655f94ed0116ede5b49c4a4b26ec82a82585a4ef53d2933b49b76f9a3967b85
Contents?: true
Size: 727 Bytes
Versions: 4
Compression:
Stored size: 727 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Common module Plugins module HasAroundCallbacks module Exceptions class AroundCallbackChainIsNotContinued < ::ConvenientService::Exception def initialize(callback:) message = <<~TEXT Around callback chain is NOT continued from `#{callback.block.source_location}`. Did you forget to call `chain.yield`? For example: around :result do |chain| # ... chain.yield # ... end TEXT super(message) end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems