{"size": 361, "ext": "js", "max_stars_repo_path": "example/lib/exceptions.js", "max_stars_repo_name": "open-sdsp/spec", "max_stars_repo_stars_event_min_datetime": "2018-01-26T17:53:56.000Z", "max_stars_repo_stars_event_max_datetime": "2021-07-19T15:28:15.000Z", "max_issues_repo_path": "example/lib/exceptions.js", "max_issues_repo_name": "open-sdsp/spec", "max_issues_repo_issues_event_min_datetime": "2018-01-11T14:53:34.000Z", "max_issues_repo_issues_event_max_datetime": "2018-06-18T09:01:25.000Z", "max_forks_repo_path": "example/lib/exceptions.js", "max_forks_repo_name": "open-sdsp/spec", "max_forks_repo_forks_event_min_datetime": "2018-10-31T09:44:41.000Z", "max_forks_repo_forks_event_max_datetime": "2018-10-31T09:44:41.000Z"}
{"max_stars_count": 11, "max_issues_count": 5, "max_forks_count": 1, "avg_line_length": 19.0, "max_line_length": 81, "alphanum_fraction": 0.6592797784}
"use strict";

/* SDSP Base Exception */
class Exception {
  constructor(message, code) {
    this.message = message;
    this.code = code;
  }

  toString() {
    return `<SDSP.Exception> Error code: ${this.code}, message: ${this.message}`;
  }
}

module.exports.ArgumentException = class extends Exception {
  constructor(message) { super(message, 400); }
}

