Client APIs
API Reference Overview
Returns the error message contained within the pending result.  
The result of this function must not be freed. It will be cleaned up when `duckdb_destroy_pending` is called.  
###### Syntax {#docs:api:c:api::syntax}  
```c
const char *duckdb_pending_error(
duckdb_pending_result pending_result
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `pending_result`: The pending result to fetch the error from.  
###### Return Value {#docs:api:c:api::return-value}  
The error of the pending result.  
<br>