lib/request_exception_handler.rb
def request_exception
      return @_request_exception if defined? @_request_exception
      @_request_exception = Thread.current[THREAD_LOCAL_NAME]
      RequestExceptionHandler.reset_request_exception
      @_request_exception
    end
# Retrieves and keeps track of the current request exception if any.
Retrieves and keeps track of the current request exception if any.
Retrieves and keeps track of the current request exception if any .
def request_exception
      return @_request_exception if defined? @_request_exception
      @_request_exception = Thread.current[THREAD_LOCAL_NAME]
      RequestExceptionHandler.reset_request_exception
      @_request_exception
    end
def request_exception return @_request_exception if defined? @_request_exception @_request_exception = Thread . current [ THREAD_LOCAL_NAME ] RequestExceptionHandler . reset_request_exception @_request_exception end
Retrieves and keeps track of the current request exception if any.
Retrieves and keeps track of the current request exception if any .