Skip to content

Commit

Permalink
Change ErrorChainReaderInvalidConfig to generic ErrInvalidConfig
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Krage <[email protected]>
  • Loading branch information
2 people authored and reductionista committed Dec 4, 2023
1 parent e099082 commit 06a400e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/types/chain_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (e ErrorNoChainReaderInJobSpec) Error() string {
return "There is no ChainReader configuration defined in the job spec"
}

type ErrorChainReaderInvalidConfig struct{}
var ErrInvalidConfig = errors.New("invalid configuration")

func (e ErrorChainReaderInvalidConfig) Error() string {
return "Invalid ChainReader configuration"
Expand Down

0 comments on commit 06a400e

Please sign in to comment.