diff --git a/library/include/larra/serialization/auto.hpp b/library/include/larra/serialization/auto.hpp index 29953fa..13aa9fa 100644 --- a/library/include/larra/serialization/auto.hpp +++ b/library/include/larra/serialization/auto.hpp @@ -134,7 +134,8 @@ auto ParseField(xmlpp::Element* main) -> std::decay_t::type { if constexpr(std::holds_alternative(Config.Base())) { xmlpp::Attribute* node = main->get_attribute(Info::kName); if(!node) { - throw AttributeSerializationError(std::format("Attribute [{}] serialization error", Info::kName)); + throw AttributeSerializationError( + std::format("Attribute [{}: {}] serialization error", Info::kName, nameof::nameof_full_type())); } if constexpr(requires(std::string_view view) { Type::Parse(view); }) { return Type::Parse(node->get_value());