Catching ErrorsΒΆ
In this tutorial we shows how to catch errors resulting from using the TileDB API.
TileDB provides an easy way to check for an error for every API call,
as well as retrieve the error message. We provide a simple example in
the code listing above. After compiling and running the program, you
get the following output (<cwd>
below stands for you current
working directory path):
Note that if TileDB is built from source in debug and verbose modes, then the error messages will be printed to standard output even if you do not catch explicitly the error as shown above.