Skip to content

Commit

Permalink
Component: error messages changed
Browse files Browse the repository at this point in the history
  • Loading branch information
hovsep committed Sep 15, 2024
1 parent 8524428 commit 0814d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions component/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import "errors"

var (
//@TODO: provide wrapper methods so exact input can be specified within error
ErrWaitingForInputResetInputs = errors.New("component is not ready (waiting for one or more inputs). All inputs will be reset")
ErrWaitingForInputKeepInputs = errors.New("component is not ready (waiting for one or more inputs). All inputs will be kept")
ErrWaitingForInputResetInputs = errors.New("component is waiting for one or more inputs. All inputs will be reset")
ErrWaitingForInputKeepInputs = errors.New("component is waiting for one or more inputs. All inputs will be kept")
)

func IsWaitingForInputError(err error) bool {
Expand Down

0 comments on commit 0814d21

Please sign in to comment.