UNPKG

modelscrape

Version:

Cheerio-based scraping helper to scrape websites based on models/templates.

16 lines (11 loc) 290 B
"use strict"; class AttributeError extends Error { constructor(message) { super(message); this.name = "AttributeError"; } static mustBeArray() { return new AttributeError("Property {attrs} must be an Array"); } } module.exports = AttributeError;