Exception: Switchman::Errors::ManuallyCreatedShadowRecordError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Switchman::Errors::ManuallyCreatedShadowRecordError
- Defined in:
- lib/switchman/errors.rb
Instance Method Summary collapse
-
#initialize(msg = "It looks like you're trying to manually create a shadow record. Please use Switchman::ActiveRecord::Base#save_shadow_record instead.") ⇒ ManuallyCreatedShadowRecordError
constructor
A new instance of ManuallyCreatedShadowRecordError.
Constructor Details
#initialize(msg = "It looks like you're trying to manually create a shadow record. Please use Switchman::ActiveRecord::Base#save_shadow_record instead.") ⇒ ManuallyCreatedShadowRecordError
Returns a new instance of ManuallyCreatedShadowRecordError.
6 7 8 |
# File 'lib/switchman/errors.rb', line 6 def initialize(msg = "It looks like you're trying to manually create a shadow record. Please use Switchman::ActiveRecord::Base#save_shadow_record instead.") super end |