Skip to content

Commit

Permalink
Update cpp/src/arrow/c/bridge.h
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Kietzman <bengilgit@gmail.com>
  • Loading branch information
zeroshade and bkietz authored Nov 8, 2024
1 parent 3c1f0b5 commit 2dc2a13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/arrow/c/bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,8 @@ class AsyncErrorDetail : public StatusDetail {
int code() const { return code_; }
// returns any metadata that was returned with the error, likely in a
// key-value format similar to ArrowSchema metadata
const std::string& ErrorMetadata() const { return metadata_; }
const std::string& ErrorMetadataString() const { return metadata_; }
std::shared_ptr<KeyValueMetadata> ErrorMetadata() const;

private:
int code_{0};
Expand Down

0 comments on commit 2dc2a13

Please sign in to comment.