A framework for creating Google Apps Scripts
Switch branches/tags
Nothing to show
Clone or download
Latest commit 1808a95 Sep 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Config.gs pv7 Jul 5, 2018
GasFramework.gs pv7 Jul 5, 2018
LICENSE Initial commit Sep 30, 2015
Minimal.gs pv8 - Updated Minimal.gs args Sep 14, 2018
Object1_.gs Few tweaks Jun 13, 2018
README.gs Added dummy object and BBLog library Oct 9, 2017
README.md Removed version numbers as they are in manifest. Apr 24, 2018
Tests.gs Added dummy object and BBLog library Oct 9, 2017
appsscript.json Updated libraries Sep 14, 2018

README.md

GAS-Framework

A framework for creating Google Apps Scripts. It provides a consistent way of dealing with error-handling and logging. Especially useful for add-ons and the are required to manage all errors in a user-friendly way.

To run it you'll need the following libraries:

  • BBLog - persistent multi-level logging to a spreadsheet. It wraps BetterLog and mainly automatically adds the function name to each line of trace (configurable). ID: 1kzzYZhgODZluRmjsjh7t3O-ftmFAF9h1jaRHU0rOdf9irF0VUiJW33Kt.

  • Assert - Assertion and error-handling, it provides the standard assertion which throw an error on failure. It also handles errors caught in a top-level try/catch which can be configured to send an email notification and always logs a "severe" error. ID: MN2v6JNucOc0S385I-FMvAB8_L47d2MW6