module Airbrake::Backtrace
def stack_frame(regexp, stackframe)
Experimental RBS support (using type sampling data from the type_fusion
project).
def stack_frame: (Regexp regexp, String stackframe) -> untyped
This signature was generated using 3 samples from 1 application.
def stack_frame(regexp, stackframe) if (match = match_frame(regexp, stackframe)) return { file: match[:file], line: (Integer(match[:line]) if match[:line]), function: match[:function], } end logger.error( "can't parse '#{stackframe}' (please file an issue so we can fix " \ "it: https://github.com/airbrake/airbrake-ruby/issues/new)", ) { file: nil, line: nil, function: stackframe } end