all files / lib/ error.js

100% Statements 1/1
66.67% Branches 2/3
100% Functions 1/1
100% Lines 1/1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                               
/*!
 * Sheetrock
 * Quickly connect to, query, and lazy-load data from Google Sheets.
 * https://chriszarate.github.io/sheetrock/
 * License: MIT
 */
 
class SheetrockError extends Error {
  constructor(message = '') {
    super();
    this.name = 'SheetrockError';
    this.message = message;
  }
}
 
export default SheetrockError;