summaryrefslogtreecommitdiffstats
path: root/include/error.h
blob: 40a39e29bb863a76de27dce14f949ff52f7cf768 (plain) (blame)
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
#ifndef _JOVE_ERROR_H
#define _JOVE_ERROR_H 1

#define E_OK 0
#define E_BADOBJ 1
#define E_ARGUMENT 2

enum
{
    KE_OK = 0,
    KE_BADOBJ,
    KE_BADFUNC,
    KE_BADTYPE,
    KE_BADMSG,
    KE_BADCALL,
    KE_FULL,
    KE_TOOSMALL,
    KE_OOB,
    KE_DNE,
    KE_ALIGN,
    KE_BADSIZE,
    KE_OCCUPIED
};

#endif