instance method
create_template
Ruby on Rails 7.0.10
Since v5.2.8.1 PrivateSignature
create_template(request, wrapper)
No documentation comment.
Parameters
-
requestreq -
wrapperreq
Source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 114
def create_template(request, wrapper)
DebugView.new(
request: request,
exception_wrapper: wrapper,
exception: wrapper.exception,
traces: wrapper.traces,
show_source_idx: wrapper.source_to_show_id,
trace_to_show: wrapper.trace_to_show,
routes_inspector: routes_inspector(wrapper.exception),
source_extracts: wrapper.source_extracts,
line_number: wrapper.line_number,
file: wrapper.file
)
end
Defined in actionpack/lib/action_dispatch/middleware/debug_exceptions.rb line 114
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::DebugExceptions