-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.c
25 lines (22 loc) · 1.04 KB
/
error.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* error.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rtavabil <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/15 15:55:47 by rtavabil #+# #+# */
/* Updated: 2024/01/29 17:00:08 by rtavabil ### ########.fr */
/* */
/* ************************************************************************** */
#include "fractol.h"
void init_error(void)
{
ft_putstr_fd("Something went wrong\n", 2);
exit(1);
}
void numeric_error(void)
{
ft_putstr_fd(NUM_ERROR, 2);
exit(1);
}