Exception: Memoria::Errors::InvalidRecordMode

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

Overview

Raised when the record mode isn’t one of all, none or new_snapshots.

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/invalid_record_mode.rb', line 11

def message
  'The snapshot record mode is invalid. The only valid modes are :all, :none and :new_snapshots.'
end