Class: Honeybadger::Notice::Cause Private
- Inherits:
-
Object
- Object
- Honeybadger::Notice::Cause
- Defined in:
- lib/honeybadger/notice.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #backtrace ⇒ Object private
- #error_class ⇒ Object private
- #error_message ⇒ Object private
Instance Method Summary collapse
-
#initialize(cause) ⇒ Cause
constructor
private
A new instance of Cause.
Constructor Details
#initialize(cause) ⇒ Cause
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Cause.
66 67 68 69 70 |
# File 'lib/honeybadger/notice.rb', line 66 def initialize(cause) self.error_class = cause.class.name self. = cause. self.backtrace = cause.backtrace end |
Instance Attribute Details
#backtrace ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
64 65 66 |
# File 'lib/honeybadger/notice.rb', line 64 def backtrace @backtrace end |
#error_class ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
64 65 66 |
# File 'lib/honeybadger/notice.rb', line 64 def error_class @error_class end |
#error_message ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
64 65 66 |
# File 'lib/honeybadger/notice.rb', line 64 def @error_message end |