{"size": 524, "ext": "js", "max_stars_repo_path": "lib/errors.js", "max_stars_repo_name": "dotstudio-io/fi-aegis", "max_stars_repo_stars_event_min_datetime": "2017-08-17T10:30:23.000Z", "max_stars_repo_stars_event_max_datetime": "2017-08-17T10:30:23.000Z", "max_issues_repo_path": "lib/errors.js", "max_issues_repo_name": "dotstudio-io/fi-aegis", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/errors.js", "max_forks_repo_name": "dotstudio-io/fi-aegis", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.1111111111, "max_line_length": 88, "alphanum_fraction": 0.7099236641}
/**
 * Prefixes error string for easier debugging.
 *
 * @param {String} message The error's original message.
 *
 * @returns {String} The prefixed error message.
 */
function msg (message) {
  return `Fi Aegis: ${message}`;
}

module.exports = {
  SESSION_INVALID: msg('A valid session must be available in order to maintain state!'),
  CSP_INVALID_POLICY: msg('Invalid CSP policy! Must be Array, String, or Object.'),
  CSRF_TOKEN_MISMATCH: msg('CSRF token mismatch!'),
  CSRF_TOKEN_MISSING: msg('CSRF token missing!')
};
