class Mongoid::Errors::DeleteRestriction

This error is raised when attempting to destroy a model which has an association with dependency option set to restrict.