CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Provide more detailed information about failures. More...
Functions | |
void | caps_drv_job_canceled (struct caps_drv *cdrv, const char *message) |
void caps_drv_job_canceled | ( | struct caps_drv * | cdrv, |
const char * | message | ||
) |
Setup a detailed error message why a job was aborted/canceled
[in] | cdrv | libcapsdriver handle |
[in] | message | Detailed error description (read NLS hint below) |
This function is intended to be used if your callbacks return an error code which should terminate the current job. Since the framework can only add generic error descriptions, you can setup here a more detailed error message instead, to help the user to understand, what exactly had failed.
message
language follow the same rule as for caps_pp_job_state_update()