Files
42_EXT_05_computorv1/headers/errors.h
2026-05-01 22:39:15 +02:00

17 lines
307 B
C

#ifndef ERRORS_H
#define ERRORS_H
#include "../libft/includes/libft.h"
typedef enum
{
ERROR_BASIC = 0,
ERROR_UNKNOWN_TOKEN = -1,
ERROR_NUMBER_TOO_BIG = -2,
ERROR_PARSING = -3,
ERROR_TOKEN_POSITION = -4,
} program_error;
int stop_errors(program_error err, const char *details);
#endif