Exception: Tina4::LogWriteError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/tina4/log.rb

Overview

A selected sink failed after configuration succeeded, under strict mode.

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, sink: nil, operation: nil)
  super(message)
  @sink = sink
  @operation = operation
end

Instance Attribute Details

#operationObject

Returns the value of attribute operation.



35
36
37
# File 'lib/tina4/log.rb', line 35

def operation
  @operation
end

#sinkObject

Returns the value of attribute sink.



35
36
37
# File 'lib/tina4/log.rb', line 35

def sink
  @sink
end