for that level of debugging and error management you’d be best to create a custom plugin and then you can add logic to handle timeouts

or use an api management service (make.com, aws etc)