Client APIs
API Reference Overview
Report that an error has occurred while executing the cast function.  
###### Syntax {#docs:api:c:api::syntax}  
```c
void duckdb_cast_function_set_error(
duckdb_function_info info,
const char *error
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `info`: The info object.
* `error`: The error message.  
<br>