Sha256: f619c292f779eb12546cb624a6daeaf3dff0924286b83c06d192fa683ab836ce

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

module Memoria
  module Errors
    # Raised when attempting to add a setting that already exists.
    class DuplicateSetting < InvalidConfiguration
      # The generic message of the exception.
      #
      # @return [String] Exception's message.
      #
      # @api public
      #
      def message
        "There's already a setting with that name."
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
memoria-0.1.0 lib/memoria/errors/duplicate_setting.rb