in cpp/include/darabonba/file_form.hpp [22:32]
void validate() override {
if (!filename) {
BOOST_THROW_EXCEPTION(boost::enable_error_info(std::runtime_error("filename is required.")));
}
if (!contentType) {
BOOST_THROW_EXCEPTION(boost::enable_error_info(std::runtime_error("contentType is required.")));
}
if (!content) {
BOOST_THROW_EXCEPTION(boost::enable_error_info(std::runtime_error("content is required.")));
}
}