error: Update design

To make sure all the info is up to date.

Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
This commit is contained in:
Anna Schumaker 2014-03-02 10:51:12 -05:00 committed by Anna Schumaker
parent 0cf38aaf56
commit 73d3c68e9f
2 changed files with 9 additions and 9 deletions

12
DESIGN
View File

@ -71,15 +71,15 @@ Install:
Errors: (include/error.h
This file contains an enum defining error codes used throughout the
codebase.
codebase. Errors will be reported using "throw" and "catch".
Error Codes:
enum error_t {
EAUDIO = 1, /* Audio error */
EEXIST, /* Requested object does not exist */
EINVAL, /* Invalid operation requested */
EIO, /* I/O error */
ENOTRACK,
E_AUDIO = 1, /* Audio error */
E_EXIST, /* Requested object does not exist */
E_INVAL, /* Invalid operation requested */
E_IO, /* I/O error */
E_NOTRACK, /* Track ID not found */
};

View File

@ -6,10 +6,10 @@
enum o_error {
E_AUDIO = 1, /* Audio error */
E_EXIST, /* Requested object does not exist */
E_INVAL, /* Invalid operation requested */
E_EXIST, /* Requested object does not exist */
E_INVAL, /* Invalid operation requested */
E_IO, /* I/O error */
E_NOTRACK,
E_NOTRACK, /* Track ID not found */
};
#endif /* OCARINA_ERROR_H */