{"size": 762, "ext": "js", "max_stars_repo_path": "lib/UnreadableStreamError.js", "max_stars_repo_name": "novemberborn/streamist", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lib/UnreadableStreamError.js", "max_issues_repo_name": "novemberborn/streamist", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/UnreadableStreamError.js", "max_forks_repo_name": "novemberborn/streamist", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 31.75, "max_line_length": 76, "alphanum_fraction": 0.7690288714}
'use strict';

var util = require('util');

// # UnreadableStreamError

// Instances of this class are used as rejection reasons when an underlying
// stream has become unreadable, but is supposed to be consumed further.
function UnreadableStreamError() {}

// Extends `Error`.
util.inherits(UnreadableStreamError, Error);

// Each instance will have a `name` property with a value of
// `"unreadable-stream"`. However, the instances will not have stack traces.
UnreadableStreamError.prototype.name = 'unreadable-stream';
UnreadableStreamError.prototype.stack = null;
// Node should log the error as `[UnreadableStreamError]`.
UnreadableStreamError.prototype.inspect = function() {
  return '[UnreadableStreamError]';
};

module.exports = UnreadableStreamError;
