Client APIs
API Reference Overview
Returns the result error type contained within the result. The error is only set if `duckdb_query` returns
`DuckDBError`.  
###### Syntax {#docs:api:c:query::syntax}  
```c
duckdb_error_type duckdb_result_error_type(
duckdb_result *result
);
```  
###### Parameters {#docs:api:c:query::parameters}  
* `result`: The result object to fetch the error from.  
###### Return Value {#docs:api:c:query::return-value}  
The error type of the result.  
<br>