Skip to content

class Athena::ORM::Exception::ORMInvalidArgument
inherits ArgumentError #

Raised when the entity manager or unit of work is asked to do something its arguments, usually entities, don't allow.

Included modules

Athena::ORM::Exception

Constructors#

.detached_entity_cannot(entity : AORM::Entity, operation : String) : self#

View source

.entity_has_no_identity(entity : AORM::Entity, operation : String) : self#

View source

.entity_is_removed(entity : AORM::Entity, operation : String) : self#

View source

.entity_not_managed(entity : AORM::Entity) : self#

View source

.entity_without_identity(class_name : String, entity : AORM::Entity) : self#

View source

.invalid_association(association : AORM::Mapping::Association, actual_value_type : String) : self#

View source

.invalid_composite_identifier : self#

View source

.new_entities_found_through_relationships(new_entities_with_associations : Enumerable(Tuple(AORM::Mapping::Association, AORM::Entity))) : self#

View source

.schedule_insert_for_managed_entity(entity : AORM::Entity) : self#

View source

.schedule_insert_for_removed_entity(entity : AORM::Entity) : self#

View source

.schedule_insert_twice(entity : AORM::Entity) : self#

View source