BacktraceClass
- Namespace
- Ancestors
-
-
Value
-
Provides non-failing access to an exception backtrace. The backtrace entries are Encoded for output and the backtrace may be filtered to not include entries from inside Lookout.
Class Methods
from(exception::Exception)Backtrace#⚙
Returns a backtrace wrapper of exception’s backtrace, trimmed if exception is a SystemStackError, and empty if the backtrace can’t be retrieved.
Constructor
initialize(backtraceArray<
String>
, trimBoolean, filterBoolean = ENV['LOOKOUT_DO_NOT_FILTER_BACKTRACE'].nil?
)#⚙
Wraps backtrace and optionally trim the backtrace to only contain a couple of leading and trailing entries and filter out entries from inside Lookout.
Instance Methods
to_sString#⚙
Returns the concatenation of the backtrace entries.