class Honeybadger::Notice
def from_exception(attribute)
Experimental RBS support (using type sampling data from the type_fusion project).
def from_exception: (Symbol attribute) -> untyped
This signature was generated using 1 sample from 1 application.
If no block is given, a method with the same name as +attribute+ will be
the property.
exception. The block should accept and exception and return the value for
If a block is given, it will be used when getting the property from an
Gets a property named +attribute+ from an exception.
def from_exception(attribute) return unless exception if block_given? yield(exception) else exception.send(attribute) end end