-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
327d3a7
commit 285aa82
Showing
14 changed files
with
466 additions
and
428 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export const Errors = { | ||
ThreadTermination: () => new Error('Terminating worker thread'), | ||
FilenameNotProvided: () => | ||
new Error('filename must be provided to run() or in options object'), | ||
TaskQueueAtLimit: () => new Error('Task queue is at limit'), | ||
NoTaskQueueAvailable: () => | ||
new Error('No task queue available and all Workers are busy'), | ||
CloseTimeout: () => new Error('Close operation timed out') | ||
}; |
Oops, something went wrong.