iLovePDF allows users to catch errors from all API requests. These errors can be from the Start request, Authentication, Upload files, Process task and Download. The following example shows how to catch all of these errors in a single task: