Exception: Xampl::IncompatiblePersisterRequest
- Inherits:
-
Exception
- Object
- Exception
- Xampl::IncompatiblePersisterRequest
- Defined in:
- lib/xamplr/exceptions.rb
Instance Attribute Summary collapse
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Instance Method Summary collapse
-
#initialize(persister, feature_name, requested_feature_value, actual_feature_value) ⇒ IncompatiblePersisterRequest
constructor
A new instance of IncompatiblePersisterRequest.
- #message ⇒ Object
Constructor Details
#initialize(persister, feature_name, requested_feature_value, actual_feature_value) ⇒ IncompatiblePersisterRequest
Returns a new instance of IncompatiblePersisterRequest.
145 146 147 |
# File 'lib/xamplr/exceptions.rb', line 145 def initialize(persister, feature_name, requested_feature_value, actual_feature_value) @msg = "persister #{persister.name}:: requested feature: #{feature_name} #{requested_feature_value}, actual: #{actual_feature_value}" end |
Instance Attribute Details
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
143 144 145 |
# File 'lib/xamplr/exceptions.rb', line 143 def msg @msg end |
Instance Method Details
#message ⇒ Object
149 150 151 |
# File 'lib/xamplr/exceptions.rb', line 149 def @msg end |