Exception: StructuredEventLogger::EventHandlingException
- Defined in:
- lib/structured_event_logger.rb
Instance Attribute Summary collapse
-
#exceptions ⇒ Object
readonly
Returns the value of attribute exceptions.
Instance Method Summary collapse
-
#initialize(scope, name, exceptions) ⇒ EventHandlingException
constructor
A new instance of EventHandlingException.
Constructor Details
#initialize(scope, name, exceptions) ⇒ EventHandlingException
Returns a new instance of EventHandlingException.
9 10 11 12 |
# File 'lib/structured_event_logger.rb', line 9 def initialize(scope, name, exceptions) @scope, @name, @exceptions = scope, name, exceptions super("Failed to submit the #{scope}/#{name} event to the following endpoints: #{exceptions.keys.join(", ")}") end |
Instance Attribute Details
#exceptions ⇒ Object (readonly)
Returns the value of attribute exceptions.
8 9 10 |
# File 'lib/structured_event_logger.rb', line 8 def exceptions @exceptions end |