aboutsummaryrefslogtreecommitdiff
path: root/src/error.hpp
blob: 3ff36e1a5f224fa797db37a9686b597d984f702e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2015 Andrew Kelley
 *
 * This file is part of zig, which is MIT licensed.
 * See http://opensource.org/licenses/MIT
 */

#ifndef ERROR_HPP
#define ERROR_HPP

#include "userland.h"

const char *err_str(Error err);

#define assertNoError(err) assert((err) == ErrorNone);

#endif