As noted by https://github.com/apache/iceberg-cpp/pull/85#discussion_r2056113117, we can explore https://json.nlohmann.me/features/parsing/parse_exceptions for better error handing of the nlohmann json library.