Prusa MINI Firmware overview
Error codes

Macros

#define ERR_IS_FATAL(e)   ((e) <= ERR_ABRT)
 

Typedefs

typedef s8_t err_t
 

Enumerations

enum  err_enum_t {
  ERR_OK = 0, ERR_MEM = -1, ERR_BUF = -2, ERR_TIMEOUT = -3,
  ERR_RTE = -4, ERR_INPROGRESS = -5, ERR_VAL = -6, ERR_WOULDBLOCK = -7,
  ERR_USE = -8, ERR_ALREADY = -9, ERR_ISCONN = -10, ERR_CONN = -11,
  ERR_IF = -12, ERR_ABRT = -13, ERR_RST = -14, ERR_CLSD = -15,
  ERR_ARG = -16
}
 

Detailed Description

Macro Definition Documentation

◆ ERR_IS_FATAL

#define ERR_IS_FATAL (   e)    ((e) <= ERR_ABRT)

Typedef Documentation

◆ err_t

typedef s8_t err_t

Define LWIP_ERR_T in cc.h if you want to use a different type for your platform (must be signed).

Enumeration Type Documentation

◆ err_enum_t

enum err_enum_t

Definitions for error constants.

Enumerator
ERR_OK 

No error, everything OK.

ERR_MEM 

Out of memory error.

ERR_BUF 

Buffer error.

ERR_TIMEOUT 

Timeout.

ERR_RTE 

Routing problem.

ERR_INPROGRESS 

Operation in progress

ERR_VAL 

Illegal value.

ERR_WOULDBLOCK 

Operation would block.

ERR_USE 

Address in use.

ERR_ALREADY 

Already connecting.

ERR_ISCONN 

Conn already established.

ERR_CONN 

Not connected.

ERR_IF 

Low-level netif error

ERR_ABRT 

Connection aborted.

ERR_RST 

Connection reset.

ERR_CLSD 

Connection closed.

ERR_ARG 

Illegal argument.

61  {
62 /** No error, everything OK. */
63  ERR_OK = 0,
64 /** Out of memory error. */
65  ERR_MEM = -1,
66 /** Buffer error. */
67  ERR_BUF = -2,
68 /** Timeout. */
69  ERR_TIMEOUT = -3,
70 /** Routing problem. */
71  ERR_RTE = -4,
72 /** Operation in progress */
73  ERR_INPROGRESS = -5,
74 /** Illegal value. */
75  ERR_VAL = -6,
76 /** Operation would block. */
77  ERR_WOULDBLOCK = -7,
78 /** Address in use. */
79  ERR_USE = -8,
80 /** Already connecting. */
81  ERR_ALREADY = -9,
82 /** Conn already established.*/
83  ERR_ISCONN = -10,
84 /** Not connected. */
85  ERR_CONN = -11,
86 /** Low-level netif error */
87  ERR_IF = -12,
88 
89 /** Connection aborted. */
90  ERR_ABRT = -13,
91 /** Connection reset. */
92  ERR_RST = -14,
93 /** Connection closed. */
94  ERR_CLSD = -15,
95 /** Illegal argument. */
96  ERR_ARG = -16
97 } err_enum_t;
ERR_ABRT
Definition: err.h:90
ERR_BUF
Definition: err.h:67
err_enum_t
err_enum_t
Definition: err.h:61
ERR_INPROGRESS
Definition: err.h:73
ERR_TIMEOUT
Definition: err.h:69
ERR_MEM
Definition: err.h:65
ERR_ISCONN
Definition: err.h:83
ERR_CLSD
Definition: err.h:94
ERR_CONN
Definition: err.h:85
ERR_ARG
Definition: err.h:96
ERR_IF
Definition: err.h:87
ERR_WOULDBLOCK
Definition: err.h:77
ERR_OK
Definition: err.h:63
ERR_RST
Definition: err.h:92
ERR_ALREADY
Definition: err.h:81
ERR_USE
Definition: err.h:79
ERR_RTE
Definition: err.h:71
ERR_VAL
Definition: err.h:75