lib/rails/graphql/request.rb
# Add the given +object+ into the execution +stack+ and execute the given
# +block+ making sure to rescue exceptions using the +rescue_with_handler+
Add the given +object+ into the execution +stack+ and execute the given
Add the given + object + into the execution + stack + and execute the given
def stacked(object, &block)
        stack.unshift(object)
        block.call
      rescue => exception
        rescue_with_handler(exception) || raise
      ensure
        stack.shift
      end
def stacked ( object , & block ) stack . unshift ( object ) block . call rescue => exception rescue_with_handler ( exception ) || raise ensure stack . shift end
Add the given +object+ into the execution +stack+ and execute the given
+block+ making sure to rescue exceptions using the +rescue_with_handler+
Add the given + object + into the execution + stack + and execute the given + block + making sure to rescue exceptions using the + rescue_with_handler +
object
block