1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-06-10 10:50:20 +00:00

fix(*): fix compute job execution

This commit is contained in:
Krishna Acondy
2021-01-28 17:01:59 +00:00
parent 0eba6bdcf4
commit 6d1c4ff81a
4 changed files with 22 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
import { Job } from './Job'
export class ComputeJobExecutionError extends Error {
constructor(public job: Job, public log: string) {
super('Error: Job execution failed')
this.name = 'ComputeJobExecutionError'
Object.setPrototypeOf(this, ComputeJobExecutionError.prototype)
}
}
+1
View File
@@ -1,3 +1,4 @@
export * from './ComputeJobExecutionError'
export * from './Context'
export * from './CsrfToken'
export * from './ErrorResponse'