32,28 → 32,29 |
/** @file |
*/ |
|
#include <errno.h> |
#include "errors.h" |
|
const err_desc_t err_desc[] = { |
/* 0 */ { "EOK", "No error" }, |
/* -1 */ { "ENOENT", "No such entry" }, |
/* -2 */ { "ENOMEM", "Not enough memory" }, |
/* -3 */ { "ELIMIT", "Limit exceeded" }, |
/* -4 */ { "EREFUSED", "Connection refused" }, |
[-EOK] = { "EOK", "No error" }, |
[-ENOENT] = { "ENOENT", "No such entry" }, |
[-ENOMEM] = { "ENOMEM", "Not enough memory" }, |
[-ELIMIT] = { "ELIMIT", "Limit exceeded" }, |
[-EREFUSED] = { "EREFUSED", "Connection refused" }, |
|
/* -5 */ { "EFORWARD", "Forward error" }, |
/* -6 */ { "EPERM", "Permission denied" }, |
/* -7 */ { "EHANGUP", "Answerbox closed connection" }, |
/* -8 */ { "EEXISTS", "Entry already exists" }, |
/* -9 */ { "EBADMEM", "Bad memory pointer" }, |
[-EFORWARD] = { "EFORWARD", "Forward error" }, |
[-EPERM] = { "EPERM", "Permission denied" }, |
[-EHANGUP] = { "EHANGUP", "Answerbox closed connection" }, |
[-EEXISTS] = { "EEXISTS", "Entry already exists" }, |
[-EBADMEM] = { "EBADMEM", "Bad memory pointer" }, |
|
/* -10 */ { "ENOTSUP", "Not supported" }, |
/* -11 */ { "EADDRNOTAVAIL", "Address not available." }, |
/* -12 */ { "ETIMEOUT", "Timeout expired" }, |
/* -13 */ { "EINVAL", "Invalid value" }, |
/* -14 */ { "EBUSY", "Resource is busy" }, |
[-ENOTSUP] = { "ENOTSUP", "Not supported" }, |
[-EADDRNOTAVAIL] = { "EADDRNOTAVAIL", "Address not available." }, |
[-ETIMEOUT] = { "ETIMEOUT", "Timeout expired" }, |
[-EINVAL] = { "EINVAL", "Invalid value" }, |
[-EBUSY] = { "EBUSY", "Resource is busy" }, |
|
/* -15 */ { "EOVERFLOW", "The result does not fit its size." } |
[-EOVERFLOW] = { "EOVERFLOW", "The result does not fit its size." } |
}; |
|
/** @} |