Exception: Xampl::IncompatiblePersisterConfiguration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(persister_kind, feature_name) ⇒ IncompatiblePersisterConfiguration

Returns a new instance of IncompatiblePersisterConfiguration.



99
100
101
# File 'lib/xamplr/exceptions.rb', line 99

def initialize(persister_kind, feature_name)
  @msg = "persister kind #{persister_kind}:: requested feature: #{feature_name}"
end

Instance Attribute Details

#msgObject (readonly)

Returns the value of attribute msg.



97
98
99
# File 'lib/xamplr/exceptions.rb', line 97

def msg
  @msg
end

Instance Method Details

#messageObject



103
104
105
# File 'lib/xamplr/exceptions.rb', line 103

def message
  @msg
end