Exception: Tina4::LogConfigurationError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Tina4::LogConfigurationError
- Defined in:
- lib/tina4/log.rb
Overview
Invalid setting, removed setting, or an inaccessible selected sink.
Instance Attribute Summary collapse
-
#accepted ⇒ Object
Returns the value of attribute accepted.
-
#operation ⇒ Object
Returns the value of attribute operation.
-
#setting ⇒ Object
Returns the value of attribute setting.
-
#sink ⇒ Object
Returns the value of attribute sink.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(message, setting: nil, value: nil, accepted: nil, sink: nil, operation: nil) ⇒ LogConfigurationError
constructor
A new instance of LogConfigurationError.
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(, setting: nil, value: nil, accepted: nil, sink: nil, operation: nil) super() @setting = setting @value = value @accepted = accepted @sink = sink @operation = operation end |
Instance Attribute Details
#accepted ⇒ Object
Returns the value of attribute accepted.
10 11 12 |
# File 'lib/tina4/log.rb', line 10 def accepted @accepted end |
#operation ⇒ Object
Returns the value of attribute operation.
10 11 12 |
# File 'lib/tina4/log.rb', line 10 def operation @operation end |
#setting ⇒ Object
Returns the value of attribute setting.
10 11 12 |
# File 'lib/tina4/log.rb', line 10 def setting @setting end |
#sink ⇒ Object
Returns the value of attribute sink.
10 11 12 |
# File 'lib/tina4/log.rb', line 10 def sink @sink end |
#value ⇒ Object
Returns the value of attribute value.
10 11 12 |
# File 'lib/tina4/log.rb', line 10 def value @value end |