Exception: Satchel::UnpersistedSubjectError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/satchel/exceptions.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(subject) ⇒ UnpersistedSubjectError

Returns a new instance of UnpersistedSubjectError.



3
4
5
# File 'lib/satchel/exceptions.rb', line 3

def initialize(subject)
  super("#{subject.inspect} is not persisted")
end