Exception: Xampl::MixedPersisters

Inherits:
Exception
  • Object
show all
Defined in:
lib/xamplr/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(active, local) ⇒ MixedPersisters

Returns a new instance of MixedPersisters.



169
170
171
# File 'lib/xamplr/exceptions.rb', line 169

def initialize(active, local)
  @msg = "mixed persisters:: active #{active.name}/#{ active }, local: #{local.name}/#{ local }"
end

Instance Attribute Details

#msgObject (readonly)

Returns the value of attribute msg.



167
168
169
# File 'lib/xamplr/exceptions.rb', line 167

def msg
  @msg
end

Instance Method Details

#messageObject



173
174
175
# File 'lib/xamplr/exceptions.rb', line 173

def message
  @msg
end