Comments (4)
Internal to TileDB, I think we should switch to using exceptions. We can catch these exceptions at the c-api boundry and map them to error codes. This doesn't fix the problem, but it is a step in the right direction.
A less dramatic option would be to switch to a Status
object which would preserve the error code like model but carry the error message internal to the object.
from tiledb.
The Status
object route was chosen, as switching to exceptions was deemed too radical change at this time.
#55 helped with this, but the c api still relies on a global buffer.
from tiledb.
I suggest we make the C API functions return a tiledb_error_t
(opaque) object as discussed in #30, which has a pointer to the last Status
object returned (which is local to each thread). Then the API functions that operate on tiledb_error_t
can make use of it.
from tiledb.
closed by #60
from tiledb.
Related Issues (20)
- [Backport release-2.16] Failed to backport #4291
- [Backport release-2.16] Failed to backport #4287 HOT 1
- Nightly GitHub Actions Build Fail on Tue, August 29th 2023
- Nightly GitHub Actions Build Fail on Wed, August 30th 2023
- Nightly GitHub Actions Build Fail on Thu, August 31st 2023
- Nightly GitHub Actions Build Fail on Fri, September 1st 2023
- Nightly GitHub Actions Build Fail on Sat, September 2nd 2023
- Nightly GitHub Actions Build Fail on Sun, September 3rd 2023
- [Backport release-2.16] Failed to backport #4310 HOT 1
- Nightly GitHub Actions Build Fail on Tue, September 5th 2023 HOT 2
- Nightly GitHub Actions Build Fail on Wed, September 6th 2023
- Nightly GitHub Actions Build Fail on Thu, September 7th 2023
- Nightly GitHub Actions Build Fail on Fri, September 8th 2023
- Nightly GitHub Actions Build Fail on Sat, September 9th 2023
- Nightly GitHub Actions Build Fail on Sun, September 10th 2023
- Nightly GitHub Actions Build Fail on Mon, September 11th 2023
- Nightly GitHub Actions Build Fail on Mon, September 11th 2023 HOT 3
- [Backport release-2.17] Failed to backport #4347 HOT 1
- [Backport release-2.17] Failed to backport #4362 HOT 1
- Compiler error Werror=float-equal during build HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiledb.