struct mg_error_data;| Field | Type | Description | 
|---|---|---|
code | 
unsigned * | 
A pointer to an unsigned variable, to store the error code. | 
text | 
char * | 
A text buffer to store the error text. | 
text_buffer_size | 
size_t | 
Size of the text buffer. | 
The structure mg_error_data is used in mg_start2(), mg_start_domain2();, mg_connect_client2(); and mg_get_response2(); to return error information.