![]() |
PK_ERROR_reraise |
PK_ERROR_code_t PK_ERROR_reraise ( --- returned arguments --- PK_LOGICAL_t *const was_error --- whether there was an error to raise ) This function repeats 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, otherwise the application's registered error handler (if any) will be called. This function may not return, if the above error handler jumps out of Parasolid, else the value of 'was_error' will be PK_LOGICAL_true. This function may be called at any time. Note that there is no thread-specific version of this function. Its effects can be simulated by using PK_THREAD_ask_last_error, followed by PK_ERROR_raise.