MCPcopy Create free account
hub / github.com/apache/arrow / garrow_error_to_status

Function garrow_error_to_status

c_glib/arrow-glib/error.cpp:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126arrow::Status
127garrow_error_to_status(GError *error, arrow::StatusCode default_code, const char *context)
128{
129 std::stringstream message;
130 message << context << ": " << g_quark_to_string(error->domain);
131 message << "(" << error->code << "): ";
132 message << error->message;
133 auto code = garrow_error_to_status_code(error, default_code);
134 g_error_free(error);
135 return arrow::Status(code, message.str());
136}
137
138namespace garrow {
139 gboolean

Callers 15

DoGetStatementMethod · 0.85
AuthenticateMethod · 0.85
IsValidMethod · 0.85
ListFlightsMethod · 0.85
GetFlightInfoMethod · 0.85
DoGetMethod · 0.85
DoPutMethod · 0.85

Calls 3

strMethod · 0.80
StatusClass · 0.50

Tested by

no test coverage detected