Exception: ActiveStash::CollectionExistsError

Inherits:
CollectionError show all
Defined in:
lib/active_stash/error.rb

Instance Method Summary collapse

Methods inherited from CollectionError

#initialize

Constructor Details

This class inherits a constructor from ActiveStash::CollectionError

Instance Method Details

#default_message(name) ⇒ Object



39
40
41
# File 'lib/active_stash/error.rb', line 39

def default_message(name)
  "The collection '#{name}' already exists"
end