feat(workflow_service): workflow version control api. (#14860)
Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
parent
f2b7df94d7
commit
3254018ddb
9 changed files with 1732 additions and 885 deletions
10
api/services/errors/workflow_service.py
Normal file
10
api/services/errors/workflow_service.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
class WorkflowInUseError(ValueError):
|
||||
"""Raised when attempting to delete a workflow that's in use by an app"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class DraftWorkflowDeletionError(ValueError):
|
||||
"""Raised when attempting to delete a draft workflow"""
|
||||
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue