Exception: Tina4::LogWriteError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Tina4::LogWriteError
- Defined in:
- lib/tina4/log.rb
Overview
A selected sink failed after configuration succeeded, under strict mode.
Instance Attribute Summary collapse
-
#operation ⇒ Object
Returns the value of attribute operation.
-
#sink ⇒ Object
Returns the value of attribute sink.
Instance Method Summary collapse
-
#initialize(message, sink: nil, operation: nil) ⇒ LogWriteError
constructor
A new instance of LogWriteError.
Constructor Details
#initialize(message, sink: nil, operation: nil) ⇒ LogWriteError
Returns a new instance of LogWriteError.
37 38 39 40 41 |
# File 'lib/tina4/log.rb', line 37 def initialize(, sink: nil, operation: nil) super() @sink = sink @operation = operation end |
Instance Attribute Details
#operation ⇒ Object
Returns the value of attribute operation.
35 36 37 |
# File 'lib/tina4/log.rb', line 35 def operation @operation end |
#sink ⇒ Object
Returns the value of attribute sink.
35 36 37 |
# File 'lib/tina4/log.rb', line 35 def sink @sink end |