A Background Function invocation might throw some catchable errors:

  • DeferError: any error that happened on the Defer Platform (during an execution)
  • ClientError: any error that happened within @defer/client (from your application)
  • HTTPRequestError: any error related to the Defer being unreachable
  • APIError: any error returned from the Defer API

An error is thrown, what should I do?