Skip to content

Releases: RomainVialard/ErrorHandler

v2.0.0

24 Apr 16:35
Compare
Choose a tag to compare

Google Apps Script ErrorHandler library v2.0.0

NEW:

  • getNormalizedError()
  • getErrorLocale()
  • NORMALIZED_ERRORS
  • NORETRY_ERRORS

CHANGED:

  • logError()

BREAKING CHANGES:

  • expBackoff()
  • urlFetchWithExpBackOff()

Read the changelog for more details

ErrorHandler library

05 Apr 13:04
Compare
Choose a tag to compare

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

Initial release

05 Apr 13:00
Compare
Choose a tag to compare

Initial npm version:

All basic functionalities:
Global ErrorHandler GAS library with methods:

  • expBackoff (func)
  • logError (error, optionnalParams)