mirror of
https://github.com/CovidBraceletPrj/CovidBracelet.git
synced 2025-07-04 12:26:50 +02:00
Implement error codes and use them throughout ens_fs
This commit is contained in:
parent
c8607507b7
commit
b2d89d5d03
3 changed files with 52 additions and 39 deletions
8
src/ens/ens_error.h
Normal file
8
src/ens/ens_error.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
#ifndef ENS_ERROR_H
|
||||
#define ENS_ERROR_H
|
||||
|
||||
#define ENS_INTERR 1 // internal error
|
||||
#define ENS_NOENT 2 // entry not found or invalid
|
||||
#define ENS_INVARG 3 // invalid argument
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue