Files
NoMoreAcronyms/node_modules/peek-readable/lib/EndOfFileStream.js
2023-03-31 00:34:58 -05:00

10 lines
236 B
JavaScript

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);
}
}