Exception: RubyFsStack::FamilySearchError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruby-fs-stack/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil, communicator = nil) ⇒ FamilySearchError

Returns a new instance of FamilySearchError.



5
6
7
8
# File 'lib/ruby-fs-stack/errors.rb', line 5

def initialize(msg = nil, communicator = nil)
  @communicator = communicator if communicator
  super(msg)
end

Instance Attribute Details

#communicatorObject (readonly)

Returns the value of attribute communicator.



4
5
6
# File 'lib/ruby-fs-stack/errors.rb', line 4

def communicator
  @communicator
end