class Athena::ORM::Exception::Mapping
inherits RuntimeError
#
Raised when the mapping of an entity is invalid, see AORM::Mapping::Class.
Included modules
Athena::ORM::Exception
Athena::ORM::Exception::Mapping
RuntimeError
#Raised when the mapping of an entity is invalid, see AORM::Mapping::Class.
Athena::ORM::Exception
.cannot_map_composite_primary_key_entities_as_foreign_id(class_name : AORM::Entity.class | String | Nil, target_entity : String, target_field : String) : self#.cannot_set_nullable_on_to_one_identifier_join_columns(class_name : String, field_name : String) : self#.field_type_mismatch(class_name : String, field_name : String, value_type : String) : self#.illegal_lifecycle_callback_on_embedded_class(event : AORM::Events::EventArgs.class, class_name : String) : self#.illegal_orphan_removal_on_identifier_association(class_name : String, field : String) : self#.integer_type_required_for_enum(class_name : String, field_name : String, type : String) : self#.invalid_association_type(entity_name : String, field_name : String, type : String) : self#.invalid_cascade_option(cascades : Enumerable(String), class_name : String, property_name : String) : self#.join_column_must_point_to_mapped_field(class_name : String, join_column : String) : self#.join_column_not_allowed_on_one_to_one_inverse_side(class_name : String, field_name : String) : self#.missing_required_option(field : String, expected_option : String, hint : String = "") : self#.proxy_not_allowed_on_to_one_inverse_side(class_name : String, field_name : String) : self#