summaryrefslogtreecommitdiffhomepage
path: root/dev/LibCompiler/ErrorID.h
blob: 380fa693a20f91c14c2083bed1aa1407c9404979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 *	========================================================
 *
 *	LibCompiler
 * 	Copyright (C) 2024-2025 Amlal El Mahrouss, all rights reserved.
 *
 * 	========================================================
 */

#pragma once

#include <LibCompiler/Defines.h>
#include <LibCompiler/ErrorOr.h>

#define LIBCOMPILER_SUCCESS 0
#define LIBCOMPILER_EXEC_ERROR -30
#define LIBCOMPILER_FILE_NOT_FOUND -31
#define LIBCOMPILER_DIR_NOT_FOUND -32
#define LIBCOMPILER_FILE_EXISTS -33
#define LIBCOMPILER_TOO_LONG -34
#define LIBCOMPILER_INVALID_DATA -35
#define LIBCOMPILER_UNIMPLEMENTED -36
#define LIBCOMPILER_FAT_ERROR -37