Sha256: eb986e8a57ef18071c8f8643748b5a54064c245269b4c9f28ae87ac24fcacf47

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

module Memoria
  module Errors
    # Raised when the record mode isn't one of +all+, +none+ or +new_snapshots+.
    class InvalidRecordMode < InvalidConfiguration
      # The generic message of the exception.
      #
      # @return [String] Exception's message.
      #
      # @api public
      #
      def message
        'The snapshot record mode is invalid. The only valid modes are :all, :none and :new_snapshots.'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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