Files
42_EXT_05_computorv1/headers/errors.h
2026-05-01 10:42:45 +02:00

16 lines
260 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,
} program_error;
int stop_errors(int err, char *details);
#endif