You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by gi...@apache.org on 2025/03/24 03:55:05 UTC
(iceberg-rust) branch gh-pages updated: deploy: 173aff8563274fbb3e079a9e9ce4349195b662a9
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new d3bd1414 deploy: 173aff8563274fbb3e079a9e9ce4349195b662a9
d3bd1414 is described below
commit d3bd14146a52a10e4e6d5a5a33c7c2974d8ded57
Author: Xuanwo <Xu...@users.noreply.github.com>
AuthorDate: Mon Mar 24 03:55:01 2025 +0000
deploy: 173aff8563274fbb3e079a9e9ce4349195b662a9
---
api/help.html | 2 +-
api/settings.html | 2 +-
api/src/iceberg_catalog_rest/client.rs.html | 6 ++++++
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/api/help.html b/api/help.html
index 886bccc7..b3855f23 100644
--- a/api/help.html
+++ b/api/help.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Documentation for Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-5 [...]
\ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Documentation for Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-5 [...]
\ No newline at end of file
diff --git a/api/settings.html b/api/settings.html
index 430a9162..0b4d7eab 100644
--- a/api/settings.html
+++ b/api/settings.html
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Settings of Rustdoc"><title>Settings</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562 [...]
\ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Settings of Rustdoc"><title>Settings</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562 [...]
\ No newline at end of file
diff --git a/api/src/iceberg_catalog_rest/client.rs.html b/api/src/iceberg_catalog_rest/client.rs.html
index 2e2470fc..61a8548d 100644
--- a/api/src/iceberg_catalog_rest/client.rs.html
+++ b/api/src/iceberg_catalog_rest/client.rs.html
@@ -262,6 +262,9 @@
<a href="#262" id="262">262</a>
<a href="#263" id="263">263</a>
<a href="#264" id="264">264</a>
+<a href="#265" id="265">265</a>
+<a href="#266" id="266">266</a>
+<a href="#267" id="267">267</a>
</pre></div><pre class="rust"><code><span class="comment">// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
@@ -518,12 +521,15 @@
/// TODO: Eventually, this function should return an error response that is custom to the error
/// codes that all endpoints share (400, 404, etc.).
</span><span class="kw">pub</span>(<span class="kw">crate</span>) <span class="kw">async fn </span>deserialize_unexpected_catalog_error(response: Response) -> Error {
+ <span class="kw">let </span>(status, headers) = (response.status(), response.headers().clone());
<span class="kw">let </span>bytes = <span class="kw">match </span>response.bytes().<span class="kw">await </span>{
<span class="prelude-val">Ok</span>(bytes) => bytes,
<span class="prelude-val">Err</span>(err) => <span class="kw">return </span>err.into(),
};
Error::new(ErrorKind::Unexpected, <span class="string">"Received unexpected response"</span>)
+ .with_context(<span class="string">"status"</span>, status.to_string())
+ .with_context(<span class="string">"headers"</span>, <span class="macro">format!</span>(<span class="string">"{:?}"</span>, headers))
.with_context(<span class="string">"json"</span>, String::from_utf8_lossy(<span class="kw-2">&</span>bytes))
}
</code></pre></div></section></main></body></html>
\ No newline at end of file