securityos/node_modules/peek-readable/lib/EndOfFileStream.js

10 lines
236 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
export const defaultMessages = 'End-Of-Stream';
/**
* Thrown on read operation of the end of file or stream has been reached
*/
export class EndOfStreamError extends Error {
constructor() {
super(defaultMessages);
}
}