aboutsummaryrefslogtreecommitdiff
path: root/node_modules/peek-readable/lib/EndOfFileStream.js
blob: 6ae832ed0ecc3532a60c2f5e636d35ec3f75a922 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EndOfStreamError = exports.defaultMessages = void 0;
exports.defaultMessages = 'End-Of-Stream';
/**
 * Thrown on read operation of the end of file or stream has been reached
 */
class EndOfStreamError extends Error {
    constructor() {
        super(exports.defaultMessages);
    }
}
exports.EndOfStreamError = EndOfStreamError;