フレームワーク構成層とサービスプロバイダ層の API 関数は、エラーとして次の整数値を返します。ファイル /usr/include/dhcp_svc_public.h は、これらのコードの完全なソースとなります。
* Standard interface errors */ #define DSVC_SUCCESS 0 /* success */ #define DSVC_EXISTS 1 /* object already exists */ #define DSVC_ACCESS 2 /* access denied */ #define DSVC_NO_CRED 3 /* No underlying credential */ #define DSVC_NOENT 4 /* object doesn't exist */ #define DSVC_BUSY 5 /* object temporarily busy (again) */ #define DSVC_INVAL 6 /* invalid argument(s) */ #define DSVC_INTERNAL 7 /* internal data store error */ #define DSVC_UNAVAILABLE 8 /* underlying service required by */ /* public module unavailable */ #define DSVC_COLLISION 9 /* update collision */ #define DSVC_UNSUPPORTED 10 /* operation not supported */ #define DSVC_NO_MEMORY 11 /* operation ran out of memory */ #define DSVC_NO_RESOURCES 12 /* non-memory resources unavailable */ #define DSVC_BAD_RESOURCE 13 /* malformed/missing RESOURCE setting */ #define DSVC_BAD_PATH 14 /* malformed/missing PATH setting */ #define DSVC_MODULE_VERSION 15 /* public module version mismatch */ #define DSVC_MODULE_ERR 16 /* internal public module error */ #define DSVC_MODULE_LOAD_ERR 17 /* error loading public module */ #define DSVC_MODULE_UNLOAD_ERR 18 /* error unloading public module */ #define DSVC_MODULE_CFG_ERR 19 /* module configuration failure */ #define DSVC_SYNCH_ERR 20 /* error in synchronization protocol */ #define DSVC_NO_LOCKMGR 21 /* cannot contact lock manager */ #define DSVC_NO_LOCATION 22 /* location nonexistent */ #define DSVC_BAD_CONVER 23 /* malformed/missing CONVER setting */ #define DSVC_NO_TABLE 24 /* table does not exist */ #define DSVC_TABLE_EXISTS 25 /* table already exists */ #define DSVC_NERR (DSVC_TABLE_EXISTS + 1)