prvTaskExitError() present at start of call stack.

jalegre2003 wrote on Monday, July 03, 2017:

As far as I know, the first function in the call stack should always be prvTaskExitError.
If the function executing immediately below (the task code) at the call stack exits, the code will get again at prvTaskExitError, effectively trapping the error.