diff --git a/luna/include/luna/SystemError.h b/luna/include/luna/SystemError.h index 0c952b57..16bef760 100644 --- a/luna/include/luna/SystemError.h +++ b/luna/include/luna/SystemError.h @@ -52,7 +52,8 @@ #define ETIMEDOUT 110 // Connection timed out #define EALREADY 114 // Operation already in progress -// This one is Luna-specific. +// These ones are Luna-specific. #define EFIXME 342 // Functionality not yet implemented +#define ENONE 343 // Internal or insignificant error const char* error_string(int error); \ No newline at end of file diff --git a/luna/src/SystemError.cpp b/luna/src/SystemError.cpp index 2e1f63ad..27aa0853 100644 --- a/luna/src/SystemError.cpp +++ b/luna/src/SystemError.cpp @@ -55,6 +55,7 @@ const char* error_string(int error) case ETIMEDOUT: return "Connection timed out"; case EALREADY: return "Operation already in progress"; case EFIXME: return "Functionality not yet implemented"; + case ENONE: return "Internal or insignificant error"; default: return "Unknown error"; } } \ No newline at end of file