Exception: Memoria::Errors::DuplicateSetting

Inherits:
InvalidConfiguration show all
Defined in:
lib/memoria/errors/duplicate_setting.rb

Overview

Raised when attempting to add a setting that already exists.

Instance Method Summary collapse

Instance Method Details

#messageString

The generic message of the exception.

Returns:

  • (String)

    Exception’s message.



11
12
13
# File 'lib/memoria/errors/duplicate_setting.rb', line 11

def message
  "There's already a setting with that name."
end