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.



157
158
159
# File 'lib/xamplr/exceptions.rb', line 157

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.



155
156
157
# File 'lib/xamplr/exceptions.rb', line 155

def msg
  @msg
end

Instance Method Details

#messageObject



161
162
163
# File 'lib/xamplr/exceptions.rb', line 161

def message
  @msg
end