Skip to content

Commit

Permalink
Some doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rroelke committed Nov 20, 2024
1 parent f5d8e13 commit 2dd0e6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tiledb/api/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use crate::filesystem::Filesystem;
use crate::stats::RawStatsString;
use crate::Result as TileDBResult;

/// An error which can occur when creating a new `Context`.
#[derive(Debug, thiserror::Error)]
pub enum CreateContextError {
#[error("Error configuring context: {0}")]
Expand All @@ -20,6 +21,7 @@ pub enum CreateContextError {
InternalInvalidReturnValue(i64),
}

/// An error which can occur when calling a `libtiledb` C API function.
#[derive(Debug, thiserror::Error)]
pub enum CApiError {
#[error("Invalid string argument to C API: {0}")]
Expand Down

0 comments on commit 2dd0e6d

Please sign in to comment.