class Mongoid::Errors::TooManyNestedAttributeRecords

This error is raised when trying to create set nested records above the specified :limit

@example Create the error.

TooManyNestedAttributeRecords.new('association', limit)