class Sentry::StacktraceBuilder
def initialize(project_root:, app_dirs_pattern:, linecache:, context_lines:, backtrace_cleanup_callback: nil)
- See: Configuration#backtrace_cleanup_callback -
See: Configuration#context_lines -
See: Configuration#linecache -
See: Configuration#app_dirs_pattern -
See: Configuration#project_root -
Parameters:
-
backtrace_cleanup_callback
(Proc, nil
) -- -
context_lines
(Integer, nil
) -- -
linecache
(LineCache
) -- -
app_dirs_pattern
(Regexp, nil
) -- -
project_root
(String
) --
def initialize(project_root:, app_dirs_pattern:, linecache:, context_lines:, backtrace_cleanup_callback: nil) @project_root = project_root @app_dirs_pattern = app_dirs_pattern @linecache = linecache @context_lines = context_lines @backtrace_cleanup_callback = backtrace_cleanup_callback end