diff options
Diffstat (limited to 'include/CompilerKit/ErrorID.h')
| -rw-r--r-- | include/CompilerKit/ErrorID.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/CompilerKit/ErrorID.h b/include/CompilerKit/ErrorID.h new file mode 100644 index 0000000..3e3b0d7 --- /dev/null +++ b/include/CompilerKit/ErrorID.h @@ -0,0 +1,29 @@ +/* + * ======================================================== + * + * CompilerKit + * Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license. + * + * ======================================================== + */ + +#pragma once + +#include <CompilerKit/Detail/Config.h> + +/// =========================================================== /// +/// @file ErrorID.h +/// @author Amlal El Mahrouss +/// @brief Error IDs for CompilerKit. +/// =========================================================== /// + +#define NECTI_SUCCESS 0 +#define NECTI_EXEC_ERROR -30 +#define NECTI_FILE_NOT_FOUND -31 +#define NECTI_DIR_NOT_FOUND -32 +#define NECTI_FILE_EXISTS -33 +#define NECTI_TOO_LONG -34 +#define NECTI_INVALID_DATA -35 +#define NECTI_UNIMPLEMENTED -36 +#define NECTI_FAT_ERROR -37 +#define NECTI_INVALID_ARCH -38 |
