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:
parent
0cf38aaf56
commit
73d3c68e9f
12
DESIGN
12
DESIGN
|
@ -71,15 +71,15 @@ Install:
|
||||||
|
|
||||||
Errors: (include/error.h
|
Errors: (include/error.h
|
||||||
This file contains an enum defining error codes used throughout the
|
This file contains an enum defining error codes used throughout the
|
||||||
codebase.
|
codebase. Errors will be reported using "throw" and "catch".
|
||||||
|
|
||||||
Error Codes:
|
Error Codes:
|
||||||
enum error_t {
|
enum error_t {
|
||||||
EAUDIO = 1, /* Audio error */
|
E_AUDIO = 1, /* Audio error */
|
||||||
EEXIST, /* Requested object does not exist */
|
E_EXIST, /* Requested object does not exist */
|
||||||
EINVAL, /* Invalid operation requested */
|
E_INVAL, /* Invalid operation requested */
|
||||||
EIO, /* I/O error */
|
E_IO, /* I/O error */
|
||||||
ENOTRACK,
|
E_NOTRACK, /* Track ID not found */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
|
|
||||||
enum o_error {
|
enum o_error {
|
||||||
E_AUDIO = 1, /* Audio error */
|
E_AUDIO = 1, /* Audio error */
|
||||||
E_EXIST, /* Requested object does not exist */
|
E_EXIST, /* Requested object does not exist */
|
||||||
E_INVAL, /* Invalid operation requested */
|
E_INVAL, /* Invalid operation requested */
|
||||||
E_IO, /* I/O error */
|
E_IO, /* I/O error */
|
||||||
E_NOTRACK,
|
E_NOTRACK, /* Track ID not found */
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* OCARINA_ERROR_H */
|
#endif /* OCARINA_ERROR_H */
|
||||||
|
|
Loading…
Reference in New Issue