File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ iceberg_rest_sources = files(
2424 ' resource_paths.cc' ,
2525 ' rest_catalog.cc' ,
2626 ' rest_util.cc' ,
27+ ' type.cc' ,
2728)
2829# cpr does not export symbols, so on Windows it must
2930# be used as a static lib
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ Result<std::shared_ptr<RestCatalog>> RestCatalog::Make(
8282 const RestCatalogProperties& config, std::shared_ptr<FileIO> file_io) {
8383 ICEBERG_ASSIGN_OR_RAISE (auto uri, config.Uri ());
8484 if (!file_io) {
85- return RestError (" FileIO instance is required to create RestCatalog" );
85+ return InvalidArgument (" FileIO is required to create RestCatalog" );
8686 }
8787 ICEBERG_ASSIGN_OR_RAISE (
8888 auto paths, ResourcePaths::Make (std::string (TrimTrailingSlash (uri)),
You can’t perform that action at this time.
0 commit comments