iLovePDF allows users to catch errors from all API requests. These errors can be from the Start request, Authentication, Upload files, Create Signature and Manage Signatures. The following example shows how to catch all of these errors in a single error sample: