PK_ERROR_raise   

PK_ERROR_code_t PK_ERROR_raise
(
--- received arguments ---
PK_ERROR_sf_t   error_sf        --- description of the error
)


This function raises a PK-format error.


This function accepts a PK error standard form. The contents will be
remembered for later access by PK_ERROR_ask_last, and 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.

The error standard form must represent an error, i.e. `error_sf.code'
may not be PK_ERROR_no_errors. PK_ERROR_clear_last should be used to
clear the kernel error state.

This function may be called at any time.

Note that there is no version of this function for raising a thread-
specific error, because this function automatically associates the
error with the thread that raised it.