![]() p4getlasterror() |
![]() DEVELOPER |
![]() |
p4GetLastError()
Return Error Code
Task Utility
Introduction
The P4API p4GetLastError() function is used to get the specific P4API error code for the last failed P4API call.
int p4GetLastError (
);
Parameters
None.
Return Values
The last non-zero P4API specific error code returned by any P4API call.
Remarks
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