PxSetError()

Remember specified error code.

APPLIES TO

8.2.0

SYNOPSIS
void PxSetError (PxError_t error);
ARGUMENTS
error

The error code

DESCRIPTION

PxSetError sets error as the task’s last remembered error.

IMPLEMENTATION GUIDELINES
Before call
  • No checks necessary.

After call
  • No checks necessary.

Best Practice
  • No restrictions.

SEE ALSO
USAGE
#include "pxdef.h"

PxSetError(PXERR_NOERROR);