You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by uw...@apache.org on 2018/05/08 07:57:23 UTC
[arrow] branch master updated: ARROW-2550: [C++] Add missing status
codes into arrow::Status::CodeAsString()
This is an automated email from the ASF dual-hosted git repository.
uwe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 64923d5 ARROW-2550: [C++] Add missing status codes into arrow::Status::CodeAsString()
64923d5 is described below
commit 64923d5247bf1a7d4359faf4f71e45d7385e03eb
Author: Kouhei Sutou <ko...@clear-code.com>
AuthorDate: Tue May 8 09:57:16 2018 +0200
ARROW-2550: [C++] Add missing status codes into arrow::Status::CodeAsString()
Author: Kouhei Sutou <ko...@clear-code.com>
Closes #2010 from kou/cpp-status-code-as-string-update and squashes the following commits:
dd12f56f <Kouhei Sutou> Add missing status codes into arrow::Status::CodeAsString()
---
cpp/src/arrow/status.cc | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/cpp/src/arrow/status.cc b/cpp/src/arrow/status.cc
index c2f2f18..8d446ef 100644
--- a/cpp/src/arrow/status.cc
+++ b/cpp/src/arrow/status.cc
@@ -57,12 +57,33 @@ std::string Status::CodeAsString() const {
case StatusCode::IOError:
type = "IOError";
break;
+ case StatusCode::CapacityError:
+ type = "Capacity error";
+ break;
case StatusCode::UnknownError:
type = "Unknown error";
break;
case StatusCode::NotImplemented:
type = "NotImplemented";
break;
+ case StatusCode::SerializationError:
+ type = "Serialization error";
+ break;
+ case StatusCode::PythonError:
+ type = "Python error";
+ break;
+ case StatusCode::PlasmaObjectExists:
+ type = "Plasma object exists";
+ break;
+ case StatusCode::PlasmaObjectNonexistent:
+ type = "Plasma object is nonexistent";
+ break;
+ case StatusCode::PlasmaStoreFull:
+ type = "Plasma store is full";
+ break;
+ case StatusCode::PlasmaObjectAlreadySealed:
+ type = "Plasma object is already sealed";
+ break;
default:
type = "Unknown";
break;
--
To stop receiving notification emails like this one, please contact
uwe@apache.org.