Giter Club home page Giter Club logo

Comments (4)

jakebolewski avatar jakebolewski commented on May 13, 2024

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.

jakebolewski avatar jakebolewski commented on May 13, 2024

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.

stavrospapadopoulos avatar stavrospapadopoulos commented on May 13, 2024

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.

jakebolewski avatar jakebolewski commented on May 13, 2024

closed by #60

from tiledb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.