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