Microchip® Advanced Software Framework

err.c File Reference

Error Management module.

#include "lwip/err.h"

Functions

const char * lwip_strerr (err_t err)
 Convert an lwip internal error to a string representation. More...
 

Variables

static const char * err_strerr []
 

const char* lwip_strerr ( err_t  err)

Convert an lwip internal error to a string representation.

Parameters
erran lwip internal err_t
Returns
a string representation for err

References err_strerr.

Referenced by dns_check_entry(), and lwip_recvfrom().

const char* err_strerr[]
static
Initial value:
= {
"Ok.",
"Out of memory error.",
"Buffer error.",
"Timeout.",
"Routing problem.",
"Operation in progress.",
"Illegal value.",
"Operation would block.",
"Address in use.",
"Already connected.",
"Not connected.",
"Connection aborted.",
"Connection reset.",
"Connection closed.",
"Illegal argument.",
"Low-level netif error.",
}

Referenced by lwip_strerr().