src/error.h
branchnew-transport
changeset 164 7847a7c3b678
parent 156 6534a4ac957b
child 178 3d357d055d67
--- a/src/error.h	Sun May 03 17:15:45 2009 +0300
+++ b/src/error.h	Sun May 03 17:16:30 2009 +0300
@@ -57,7 +57,6 @@
     ERR_SOCKET,         ///< socket(2) failed
     ERR_CONNECT,        ///< connect(2) error - either direct or async
     ERR_READ,           ///< read(2) error - will probably show up as an ERR_WRITE as well
-    ERR_READ_EOF,       ///< EOF on read(2)
     ERR_WRITE,          ///< write(2) error - data was unsent, will probably show up as an ERR_READ as well
     ERR_WRITE_EOF,      ///< write(2) gave EOF - zero bytes written
     ERR_FCNTL,          ///< fcntl(2) failed
@@ -137,7 +136,8 @@
     ERR_UNKNOWN,
     ERR_DUP_NAME,           ///< duplicate name
     ERR_EOF,                ///< end of file
-
+    ERR_MEM,                ///< memory allocation error
+    ERR_NOT_IMPLEMENTED,    ///< function not implemented
 };
 
 /**