dpl_error.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Inria
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #include "os/os_error.h"
27 
31 enum dpl_error {
32  DPL_OK = OS_OK,
33  DPL_ENOMEM = OS_ENOMEM,
34  DPL_EINVAL = OS_EINVAL,
35  DPL_INVALID_PARAM = OS_INVALID_PARM,
36  DPL_MEM_NOT_ALIGNED = OS_MEM_NOT_ALIGNED,
37  DPL_BAD_MUTEX = OS_BAD_MUTEX,
38  DPL_TIMEOUT = OS_TIMEOUT,
39  DPL_ERR_IN_ISR = OS_ERR_IN_ISR,
40  DPL_ERR_PRIV = OS_ERR_PRIV,
41  DPL_OS_NOT_STARTED = OS_NOT_STARTED,
42  DPL_ENOENT = OS_ENOENT,
43  DPL_EBUSY = OS_EBUSY,
44  DPL_ERROR = OS_ERROR ,
45 };
46 
50 typedef os_error_t dpl_error_t;
51 
52 #ifdef __cplusplus
53 }
54 #endif
dpl_error
DPL error types.
Definition: dpl_error.h:31
os_error_t dpl_error_t
dpl error type
Definition: dpl_error.h:50