![]() p4getlasterror() |
![]() DEVELOPER |
![]() |
Return Error Code
Task Utility
The P4API p4GetLastError() function is used to get the specific P4API error code for the last failed P4API call.
int p4GetLastError (
);
None.
The last non-zero P4API specific error code returned by any P4API call.
Use p4GetLastError() to obtain the P4API specific error code. More details information can be obtained by using the p4GetLastStatusCodes().
See Error and Information Messages for a list of error codes and corresponding message text.
Topic ID: 540187