PK_ERROR_code_t PK_ERROR_ask_last ( --- returned arguments --- PK_LOGICAL_t *const was_error, --- whether there was an error PK_ERROR_sf_t *const error_sf --- description of the error ) This function returns the standard form of the most recent PK error. If there have been no errors, or the last error has been cleared, was_error will be PK_LOGICAL_false, and the contents of error_sf will be undefined. This function may be called at any time.