class Honeybadger::Notice
def exception_attribute(attribute, default = nil, &block)
Experimental RBS support (using type sampling data from the type_fusion project).
def exception_attribute: (Symbol attribute, ?String default, ) -> String
This signature was generated using 2 samples from 1 application.
desired value.
block - An optional block which receives an Exception and returns the
default - Default value if no other value is found (optional).
Exception.
attribute - A Symbol existing as a key in #args and/or attribute on
the #args hash or actual exception (in order of precedence).
Gets a property named "attribute" of an exception, either from
def exception_attribute(attribute, default = nil, &block) opts[attribute] || (exception && from_exception(attribute, &block)) || default end