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

#ifndef _ERROR_H
#define _ERROR_H

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

void blogc_error_print(sb_error_t *err);

#endif /* _ERROR_H */