Skip to content

ErrorHandler library

Compare
Choose a tag to compare
@JeanRemiDelteil JeanRemiDelteil released this 05 Apr 13:04
· 74 commits to master since this release

Google Apps Script ErrorHandler library

Methods

  • expBackoff (func) - Invokes a function, performing up to 5 retries with exponential backoff.
  • urlFetchWithExpBackOff (url, params) : Helper function to automatically handles exponential backoff on UrlFetch use
  • logError (error, optionalParam) : Log error with format corresponding to native error Logging from GAS to StackDriver