File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ type DBOSErrorCode int
88const (
99 ConflictingIDError DBOSErrorCode = iota + 1 // Workflow ID conflicts or duplicate operations
1010 InitializationError // DBOS context initialization failures
11- WorkflowFunctionNotFound // Workflow function not registered
1211 NonExistentWorkflowError // Referenced workflow does not exist
1312 ConflictingWorkflowError // Workflow with same ID already exists with different parameters
1413 WorkflowCancelled // Workflow was cancelled during execution
@@ -68,18 +67,6 @@ func newInitializationError(message string) *DBOSError {
6867 }
6968}
7069
71- func newWorkflowFunctionNotFoundError (workflowID , message string ) * DBOSError {
72- msg := fmt .Sprintf ("Workflow function not found for workflow ID %s" , workflowID )
73- if message != "" {
74- msg += ": " + message
75- }
76- return & DBOSError {
77- Message : msg ,
78- Code : WorkflowFunctionNotFound ,
79- WorkflowID : workflowID ,
80- }
81- }
82-
8370func newNonExistentWorkflowError (workflowID string ) * DBOSError {
8471 return & DBOSError {
8572 Message : fmt .Sprintf ("workflow %s does not exist" , workflowID ),
You can’t perform that action at this time.
0 commit comments