module Airbrake::Backtrace

def self.parse(exception)

Experimental RBS support (using type sampling data from the type_fusion project).

def self.parse: (StandardError exception) -> untyped

This signature was generated using 5 samples from 1 application.

Returns:
  • (ArrayString,Integer}>) - the parsed backtrace

Parameters:
  • exception (Exception) -- The exception, which contains a backtrace to
def self.parse(exception)
  return [] if exception.backtrace.nil? || exception.backtrace.none?
  parse_backtrace(exception)
end