{"size": 345, "ext": "js", "max_stars_repo_path": "custom/ValidationError.js", "max_stars_repo_name": "abircb/whatdoyoumean", "max_stars_repo_stars_event_min_datetime": "2020-07-07T13:06:45.000Z", "max_stars_repo_stars_event_max_datetime": "2020-07-12T17:14:05.000Z", "max_issues_repo_path": "custom/ValidationError.js", "max_issues_repo_name": "abircb/wdym", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "custom/ValidationError.js", "max_forks_repo_name": "abircb/wdym", "max_forks_repo_forks_event_min_datetime": "2021-04-21T08:31:49.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-21T08:31:49.000Z"}
{"max_stars_count": 4, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 24.6428571429, "max_line_length": 93, "alphanum_fraction": 0.7188405797}
/**
 * A custom Error class thrown when the input data is (partially) in Common Log Format (CLF),
 * but one (or more) of its standardised components fail to validate
 */

class ValidationError extends Error {
  constructor(...args) {
    super(...args)
    Error.captureStackTrace(this, ValidationError)
  }
}

module.exports = ValidationError
