Class: Cuprum::Collections::Errors::AlreadyExists

Inherits:
AbstractFindError show all
Defined in:
lib/cuprum/collections/errors/already_exists.rb

Overview

Returned when an insert command is called with an existing record.

Constant Summary collapse

TYPE =

Short string used to identify the type of error.

'cuprum.collections.errors.already_exists'

Instance Attribute Summary

Attributes inherited from AbstractFindError

#attribute_name, #attribute_value, #attributes, #collection_name, #query

Method Summary

Methods inherited from AbstractFindError

#details, #initialize, #primary_key?

Constructor Details

This class inherits a constructor from Cuprum::Collections::Errors::AbstractFindError