What is the difference between ERROR_CHECK() and APP_ERROR_CHECK()?

Hi Nordic:

Maybe it isn't a really question.  When I try to make an error check, I get two types of error checks, ERROR_CHECK() and APP_ERROR_CHECK().  It seems to be the same functionality, but why there are two types.  What is the difference with them?   When should I use ERROR_CHECK(), and when should I use the other? 

sdk 17.0.2, mesh 5.0.0

Related