module Airbrake::Backtrace

def execjs_exception?(exception)

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

def execjs_exception?: (StandardError exception) -> false

This signature was generated using 7 samples from 1 application.

def execjs_exception?(exception)
  return false unless defined?(ExecJS::RuntimeError)
  return true if exception.is_a?(ExecJS::RuntimeError)
  return true if exception.cause && exception.cause.is_a?(ExecJS::RuntimeError)
  false
end