6658 workflows add a first twenty piece email sender (#6965)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
import { CustomException } from 'src/utils/custom-exception';
|
||||
|
||||
export class WorkflowRunException extends CustomException {
|
||||
code: WorkflowRunExceptionCode;
|
||||
constructor(message: string, code: WorkflowRunExceptionCode) {
|
||||
super(message, code);
|
||||
}
|
||||
}
|
||||
|
||||
export enum WorkflowRunExceptionCode {
|
||||
WORKFLOW_RUN_NOT_FOUND = 'WORKFLOW_RUN_NOT_FOUND',
|
||||
INVALID_OPERATION = 'INVALID_OPERATION',
|
||||
INVALID_INPUT = 'INVALID_INPUT',
|
||||
}
|
||||
Reference in New Issue
Block a user