Add exception boundary to capi
authorJihoon Lee <jhoon.it.lee@samsung.com>
Thu, 25 Jun 2020 12:34:08 +0000 (21:34 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Fri, 3 Jul 2020 02:30:42 +0000 (11:30 +0900)
commit8d10ef6fd631e8b752d31d587e7bd28a87f3c188
treecb601be0b6e062c7d833b44e682ec8467fdb9404
parent4eec732e39f429747f6947e12b632626f986810f
Add exception boundary to capi

**Changes proposed in this PR:**
- Add a functor that returns `errno` to corresponding `exception`

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
api/capi/src/nntrainer.cpp