#ifndef DK_ERROR_H
#define DK_ERROR_H

#include <stdint.h>

typedef uint32_t DK_Result;

#define DK_SUCCESS                 0x00000000UL
#define DK_ERROR_GENERIC           0x00000001UL
#define DK_ERROR_BAD_PARAM         0xFFFF0001UL
#define DK_ERROR_OUT_OF_MEMORY     0xFFFF0002UL
#define DK_ERROR_BAD_FORMAT        0xFFFF0003UL
#define DK_ERROR_NOT_SUPPORTED     0xFFFF0004UL
#define DK_ERROR_NO_DATA           0xFFFF0005UL
#define DK_ERROR_EXCESS_DATA       0xFFFF0006UL
#define DK_ERROR_BAD_STATE         0xFFFF0007UL
#define DK_ERROR_ACCESS_DENIED     0xFFFF0008UL
#define DK_ERROR_INTEGRITY_FAILED  0xFFFF0009UL

#endif
