Exception: Log::LoggableError
- Inherits:
-
StandardError
- Object
- StandardError
- Log::LoggableError
- Defined in:
- lib/log/loggable_error.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(message = nil, data = nil) ⇒ LoggableError
constructor
A new instance of LoggableError.
Constructor Details
#initialize(message = nil, data = nil) ⇒ LoggableError
Returns a new instance of LoggableError.
5 6 7 8 |
# File 'lib/log/loggable_error.rb', line 5 def initialize(=nil, data=nil) super() @data = data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
3 4 5 |
# File 'lib/log/loggable_error.rb', line 3 def data @data end |