aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/errors.h
blob: 427d9e72cdf3051e5d40d5bda16bfa43ec3978e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * blogc: A blog compiler.
 * Copyright (C) 2015-2016 Rafael G. Martins <rafael@rafaelmartins.eng.br>
 *
 * This program can be distributed under the terms of the BSD License.
 * See the file LICENSE.
 */

#ifndef _ERRORS_H
#define _ERRORS_H

#include "../common/error.h"

typedef enum {
    BLOGC_ERROR_SOURCE_PARSER = 1,
    BLOGC_ERROR_TEMPLATE_PARSER,
    BLOGC_ERROR_LOADER,
    BLOGC_ERROR_FILE,
    BLOGC_WARNING_DATETIME_PARSER,
} blogc_error_type_t;

void blogc_error_print(bc_error_t *err);

#endif /* _ERRORS_H */