Does anyone have the knowledge of the specific reasons why the ApCreateModule call may return NULL on occasion? It seems that 99.99% of the time, the same code works with no issues at all.
The Photon Library Reference documentation states for ApCreateModule,
I am looking for specifics on “NULL if an error occurred.”
Does strerror(errno) actually return the error for the failure of ApCreateModule?
Since the failure of ApCreateModule occurs so rarely, I am not sure how to reproduce the error to be able to use strerror in order to determine the error code.