Skip to content

Commit

Permalink
remove unused error
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal-Delange committed Feb 26, 2025
1 parent 440b92d commit 4ee19fb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions models/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ var (
"data preparation service is unavailable: an index is being created in the client db schema")

// execution
ErrScenarioHasNoLiveVersion = errors.Wrap(BadParameterError, "scenario has no live version")
ErrScenarioTriggerTypeAndTiggerObjectTypeMismatch = errors.Wrap(BadParameterError, "scenario's trigger_type and provided trigger_object type are different")
ErrScenarioTriggerConditionAndTriggerObjectMismatch = errors.Wrap(BadParameterError, "trigger_object does not match the scenario's trigger conditions")
ErrInvalidAST = errors.Wrap(BadParameterError, "invalid AST")
ErrPanicInScenarioEvalution = errors.New("panic during scenario evaluation")
ErrScenarioHasNoLiveVersion = errors.Wrap(BadParameterError, "scenario has no live version")
ErrScenarioTriggerTypeAndTiggerObjectTypeMismatch = errors.Wrap(BadParameterError,
"scenario's trigger_type and provided trigger_object type are different")
ErrInvalidAST = errors.Wrap(BadParameterError, "invalid AST")
ErrPanicInScenarioEvalution = errors.New("panic during scenario evaluation")

ErrTestRunAlreadyExist = errors.Wrap(ConflictError, "there is an already existing testrun for this scenario")
ErrNoTestRunFound = errors.Wrap(NotFoundError, "there is no testrun for this scenario")
Expand Down

0 comments on commit 4ee19fb

Please sign in to comment.