add UnspecifiedWorkerError error

This commit is contained in:
2016-06-28 17:49:10 -07:00
parent df03738b9a
commit 2b2db9c5f9
2 changed files with 14 additions and 1 deletions

View File

@@ -9,4 +9,11 @@ errors.WorkerTimeoutError = typedError({
jobId: null
});
errors.UnspecifiedWorkerError = typedError({
type: 'UnspecifiedWorkerError',
message: 'Unspecified worker error',
timeout: null,
jobId: null
});
export default errors;