User callback function for handling errors
function errorListener(fd, errorid, errormessage) { //user implementation }
Argument | Type | Description |
---|---|---|
fd | Integer | A file descriptor returned by ppsService.open(). Required. |
errorid | Number |
A code that indicates the error type. Required. Return error values: 1 — Open error |
errormessage | String | A message that describes the error. Required. |
The user implements the errorListener() callback function to perform error handling.
All error listeners used by ppsService methods have the same function signature.