class Honeybadger::Agent

def validate_notify_opts!(opts)

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

def validate_notify_opts!: (Hash opts) -> nil

This signature was generated using 2 samples from 1 application.

def validate_notify_opts!(opts)
  return if opts.has_key?(:exception)
  return if opts.has_key?(:error_message)
  msg = sprintf('`Honeybadger.notify` was called with invalid arguments. You must pass either an Exception or options Hash containing the `:error_message` key. location=%s', caller[caller.size-1])
  raise ArgumentError.new(msg) if config.dev?
  warn(msg)
end