class Mongoid::Errors::ScopeOverwrite

This error is raised when trying to create a scope with an name already taken by another scope or method

@example Create the error.

ScopeOverwrite.new(Person,'teenies')