Class: EvilEvents::FailingSubscribersError

Inherits:
NotifierError
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/evil_events/error.rb

Overview

Since:

  • 0.3.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ FailingSubscribersError

Returns a new instance of FailingSubscribersError.

Parameters:

  • message (NilClass, String) (defaults to: nil)

Since:

  • 0.3.0



103
104
105
106
# File 'lib/evil_events/error.rb', line 103

def initialize(message = nil)
  @errors_stack = Concurrent::Array.new
  super
end

Instance Attribute Details

#errors_stackConcurrent::Array (readonly)

Returns:

  • (Concurrent::Array)

Since:

  • 0.3.0



98
99
100
# File 'lib/evil_events/error.rb', line 98

def errors_stack
  @errors_stack
end