Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2612

Expose class in DocumentNotFound exception

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.15
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Quite a simple thing really. It would be nice to be able to see the class that wasn't found when a Mongoid::Errors::DocumentNotFound is raised, so we can rescue and apply some logic.

            Assignee:
            durran Durran Jordan
            Reporter:
            bensymonds Ben Symonds
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: