Initial commit - Event Planner application
This commit is contained in:
16
node_modules/strtok3/lib/stream/Errors.js
generated
vendored
Normal file
16
node_modules/strtok3/lib/stream/Errors.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
this.name = "EndOfStreamError";
|
||||
}
|
||||
}
|
||||
export class AbortError extends Error {
|
||||
constructor(message = "The operation was aborted") {
|
||||
super(message);
|
||||
this.name = "AbortError";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user