instance method handle_exception

Ruby on Rails 6.1.7.10

Since v5.2.8.1 Last seen in v6.1.7.10 Private

Available in: v5.2.8.1 v6.0.6 v6.1.7.10

Signature

handle_exception(exception:, method:, returning:)

No documentation comment.

Parameters

exception keyreq
method keyreq
returning keyreq
Source
# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 484
        def handle_exception(exception:, method:, returning:)
          if @error_handler
            @error_handler.(method: method, exception: exception, returning: returning)
          end
        rescue => failsafe
          warn "RedisCacheStore ignored exception in handle_exception: #{failsafe.class}: #{failsafe.message}\n  #{failsafe.backtrace.join("\n  ")}"
        end

Defined in activesupport/lib/active_support/cache/redis_cache_store.rb line 484 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Cache::RedisCacheStore

Type at least 2 characters to search.

↑↓ navigate · open · esc close