Exception: Tina4::LogConfigurationError

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

Overview

Invalid setting, removed setting, or an inaccessible selected sink.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, setting: nil, value: nil, accepted: nil, sink: nil, operation: nil) ⇒ LogConfigurationError

Returns a new instance of LogConfigurationError.



12
13
14
15
16
17
18
19
# File 'lib/tina4/log.rb', line 12

def initialize(message, setting: nil, value: nil, accepted: nil, sink: nil, operation: nil)
  super(message)
  @setting = setting
  @value = value
  @accepted = accepted
  @sink = sink
  @operation = operation
end

Instance Attribute Details

#acceptedObject

Returns the value of attribute accepted.



10
11
12
# File 'lib/tina4/log.rb', line 10

def accepted
  @accepted
end

#operationObject

Returns the value of attribute operation.



10
11
12
# File 'lib/tina4/log.rb', line 10

def operation
  @operation
end

#settingObject

Returns the value of attribute setting.



10
11
12
# File 'lib/tina4/log.rb', line 10

def setting
  @setting
end

#sinkObject

Returns the value of attribute sink.



10
11
12
# File 'lib/tina4/log.rb', line 10

def sink
  @sink
end

#valueObject

Returns the value of attribute value.



10
11
12
# File 'lib/tina4/log.rb', line 10

def value
  @value
end