Exception: Switchman::Errors::ManuallyCreatedShadowRecordError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/switchman/errors.rb

Instance Method Summary collapse

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