Exception: RivetCms::TrashedEntryError

Inherits:
StandardError
  • Object
show all
Defined in:
app/models/rivet_cms/document_revision.rb

Overview

Raised when a revision is written or published while its entry sits in the trash. Document's kept scope makes revision.document nil, so without this every such path would NoMethodError instead of saying what is wrong.