Errors
- group Errors
Error codes and messages.
Enums
-
enum LanceDBError
Error codes for LanceDB C API.
Existing values never move. Codes for error categories added by a newer SDK are appended before LANCEDB_UNKNOWN, which stays outside the contiguous range.
Values:
-
enumerator LANCEDB_SUCCESS
-
enumerator LANCEDB_INVALID_ARGUMENT
-
enumerator LANCEDB_INVALID_TABLE_NAME
-
enumerator LANCEDB_INVALID_INPUT
-
enumerator LANCEDB_TABLE_NOT_FOUND
-
enumerator LANCEDB_DATABASE_NOT_FOUND
-
enumerator LANCEDB_DATABASE_ALREADY_EXISTS
-
enumerator LANCEDB_INDEX_NOT_FOUND
-
enumerator LANCEDB_EMBEDDING_FUNCTION_NOT_FOUND
-
enumerator LANCEDB_TABLE_ALREADY_EXISTS
-
enumerator LANCEDB_CREATE_DIR
-
enumerator LANCEDB_SCHEMA
-
enumerator LANCEDB_RUNTIME
-
enumerator LANCEDB_TIMEOUT
-
enumerator LANCEDB_OBJECT_STORE
-
enumerator LANCEDB_LANCE
-
enumerator LANCEDB_HTTP
-
enumerator LANCEDB_RETRY
-
enumerator LANCEDB_ARROW
-
enumerator LANCEDB_NOT_SUPPORTED
-
enumerator LANCEDB_OTHER
-
enumerator LANCEDB_NAMESPACE
-
enumerator LANCEDB_PERMISSION_DENIED
-
enumerator LANCEDB_NOT_FOUND
-
enumerator LANCEDB_TABLE_CORRUPTED
-
enumerator LANCEDB_COLUMN_NOT_FOUND
-
enumerator LANCEDB_FIELD_NOT_FOUND
-
enumerator LANCEDB_COLUMN_ALREADY_EXISTS
-
enumerator LANCEDB_NOT_A_COMPUTED_COLUMN
-
enumerator LANCEDB_NOT_A_MATERIALIZED_VIEW
-
enumerator LANCEDB_INVALID_EXPRESSION
-
enumerator LANCEDB_SQL
-
enumerator LANCEDB_JOB_FAILED
-
enumerator LANCEDB_JOB_CANCELLED
-
enumerator LANCEDB_JOB_NOT_FOUND
-
enumerator LANCEDB_RESPONSE_INTERRUPTED
-
enumerator LANCEDB_EXTERNAL
-
enumerator LANCEDB_UNKNOWN
-
enumerator LANCEDB_SUCCESS
Functions
-
static inline const char *lancedb_error_to_message(LanceDBError error)
Convert error code to error message.
The returned string is valid for the lifetime of the program. The caller must not free the returned string.
- Parameters:
error – - error code
- Returns:
Pointer to null-terminated C string containing the error message
Variables
-
static const char *LANCEDB_ERROR_MESSAGES[]
Error messages for LanceDB C API.
-
static const char *LANCEDB_UNKNOWN_ERROR_MESSAGE = "Unknown error"
Error message for LANCEDB_UNKNOWN, which is not part of LANCEDB_ERROR_MESSAGES since it is deliberately kept out of the range of the other error codes.
-
enum LanceDBError