Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
17 lines
439 B
Plaintext
17 lines
439 B
Plaintext
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";
|
|
}
|
|
}
|